Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Gaba
fenix
Commits
94888f5b
Unverified
Commit
94888f5b
authored
Oct 20, 2020
by
Matthew Finkel
Browse files
fixup! Bug 40015: Modify Home menu
Bug 40093: Enable Quit menu button
parent
abfb81fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/org/mozilla/fenix/home/HomeMenu.kt
View file @
94888f5b
...
...
@@ -160,12 +160,10 @@ class HomeMenu(
null
}
val
settings
=
context
.
components
.
settings
val
shouldDeleteBrowsingDataOnQuit
=
settings
.
shouldDeleteBrowsingDataOnQuit
&&
!
settings
.
shouldDisableNormalMode
// val settings = context.components.settings
val
menuItems
=
listOfNotNull
(
if
(
shouldDeleteBrowsingDataOnQuit
)
quitItem
else
null
,
quitItem
,
settingsItem
,
BrowserMenuDivider
(),
// if (settings.syncedTabsInTabsTray) null else syncedTabsItem,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment