2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-19 09:25:34 +00:00

Bug 1830768 - Add nimbus flag for toolbar position

(cherry picked from commit dbc1cb72bca6345c9c80881e117b08b9df6e4392)
This commit is contained in:
sarah541 2023-06-16 12:30:46 -04:00 committed by mergify[bot]
parent 933b843e4b
commit f59b1d4d85

View File

@ -885,9 +885,10 @@ class Settings(private val appContext: Context) : PreferencesHolder {
default = true,
)
var shouldUseBottomToolbar by booleanPreference(
var shouldUseBottomToolbar by lazyFeatureFlagPreference(
appContext.getPreferenceKey(R.string.pref_key_toolbar_bottom),
default = shouldDefaultToBottomToolbar(),
featureFlag = true,
default = { shouldDefaultToBottomToolbar() },
)
val toolbarPosition: ToolbarPosition