Skip to content
Snippets Groups Projects
Unverified Commit 050ec6ee authored by boklm's avatar boklm
Browse files

fixup! Modify UI/UX

parent 3569ab23
Branches tor-browser-90.0.0b6-10.5-1
Tags
1 merge request!123Rebase fenix patches to fenix v90.0.0-beta.6
......@@ -158,10 +158,10 @@ class HomeMenu(
// }
// Use nimbus to set the icon and title.
val variables = experiments.getVariables(FeatureId.NIMBUS_VALIDATION)
// val variables = experiments.getVariables(FeatureId.NIMBUS_VALIDATION)
val settingsItem = BrowserMenuImageText(
variables.getText("settings-title") ?: context.getString(R.string.browser_menu_settings),
variables.getDrawableResource("settings-icon") ?: R.drawable.ic_settings,
context.getString(R.string.browser_menu_settings),
R.drawable.ic_settings,
primaryTextColor
) {
onItemTapped.invoke(Item.Settings)
......@@ -284,10 +284,10 @@ class HomeMenu(
}
// Use nimbus to set the icon and title.
val variables = experiments.getVariables(FeatureId.NIMBUS_VALIDATION)
// val variables = experiments.getVariables(FeatureId.NIMBUS_VALIDATION)
val settingsItem = BrowserMenuImageText(
variables.getText("settings-title") ?: context.getString(R.string.browser_menu_settings),
variables.getDrawableResource("settings-icon") ?: R.drawable.ic_settings,
context.getString(R.string.browser_menu_settings),
R.drawable.ic_settings,
primaryTextColor
) {
onItemTapped.invoke(Item.Settings)
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment