2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-02 03:40:16 +00:00

[fenix] Revert "For https://github.com/mozilla-mobile/fenix/issues/23871 - Update compose to 1.1.0 and kotlin to 1.6.10"

This reverts commit 30cb395b04e583ea9457a987f19f047a33de2213.
This commit is contained in:
Mugurell 2022-02-28 20:04:08 +02:00 committed by mergify[bot]
parent b9cfda5623
commit b9bec46eea
9 changed files with 3 additions and 35 deletions

View File

@ -98,9 +98,6 @@ class HistoryMetadataMiddleware(
is EngineAction.OptimizedLoadUrlTriggeredAction -> { is EngineAction.OptimizedLoadUrlTriggeredAction -> {
directLoadTriggeredSet.add(action.tabId) directLoadTriggeredSet.add(action.tabId)
} }
else -> {
// no-op
}
} }
next(action) next(action)
@ -129,9 +126,6 @@ class HistoryMetadataMiddleware(
createHistoryMetadata(context, tab) createHistoryMetadata(context, tab)
} }
} }
else -> {
// no-op
}
} }
} }

View File

@ -191,9 +191,6 @@ class BookmarkFragment : LibraryPageFragment<BookmarkNode>(), UserInteractionHan
} }
} }
} }
else -> {
// no-op
}
} }
} }

View File

@ -149,9 +149,6 @@ class BookmarkView(
) )
) )
} }
else -> {
// no-op
}
} }
binding.bookmarksProgressBar.isVisible = state.isLoading binding.bookmarksProgressBar.isVisible = state.isLoading
binding.swipeRefresh.isEnabled = binding.swipeRefresh.isEnabled =

View File

@ -91,9 +91,6 @@ class HistoryView(
context.getString(R.string.history_multi_select_title, mode.selectedItems.size) context.getString(R.string.history_multi_select_title, mode.selectedItems.size)
) )
} }
else -> {
// no-op
}
} }
} }

View File

@ -52,9 +52,6 @@ class SearchTermTabGroupMiddleware : Middleware<BrowserState, BrowserAction> {
} }
} }
} }
else -> {
// no-op
}
} }
} }
} }

View File

@ -54,9 +54,6 @@ class TabsTrayMiddleware(
} }
} }
} }
else -> {
// no-op
}
} }
} }

View File

@ -119,9 +119,6 @@ fun SyncedTabsList(
) )
} }
} }
else -> {
// no-op
}
} }
} }
} else { } else {
@ -141,9 +138,6 @@ fun SyncedTabsList(
onTabClick(syncedTabItem.tab) onTabClick(syncedTabItem.tab)
} }
} }
else -> {
// no-op
}
} }
} }
} }

View File

@ -60,9 +60,6 @@ class TelemetryMiddleware(
val tab = context.state.findTabOrCustomTab(action.tabId) val tab = context.state.findTabOrCustomTab(action.tabId)
onEngineSessionKilled(context.state, tab) onEngineSessionKilled(context.state, tab)
} }
else -> {
// no-op
}
} }
next(action) next(action)
@ -83,9 +80,6 @@ class TelemetryMiddleware(
metrics.track(Event.HaveNoOpenTabs) metrics.track(Event.HaveNoOpenTabs)
} }
} }
else -> {
// no-op
}
} }
} }

View File

@ -6,7 +6,7 @@
// FORCE REBUILD 2021-11-24 // FORCE REBUILD 2021-11-24
object Versions { object Versions {
const val kotlin = "1.6.10" const val kotlin = "1.5.31"
const val coroutines = "1.5.2" const val coroutines = "1.5.2"
// These versions are linked: lint should be X+23.Y.Z of gradle_plugin version, according to: // These versions are linked: lint should be X+23.Y.Z of gradle_plugin version, according to:
@ -20,7 +20,8 @@ object Versions {
const val detekt = "1.17.1" const val detekt = "1.17.1"
const val jna = "5.6.0" const val jna = "5.6.0"
const val androidx_compose = "1.1.0" const val androidx_activity_compose = "1.4.0"
const val androidx_compose = "1.0.5"
const val androidx_appcompat = "1.3.0" const val androidx_appcompat = "1.3.0"
const val androidx_benchmark = "1.0.0" const val androidx_benchmark = "1.0.0"
const val androidx_biometric = "1.1.0" const val androidx_biometric = "1.1.0"