GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

Unverified Commit 94888f5b authored by Matthew Finkel's avatar Matthew Finkel
Browse files

fixup! Bug 40015: Modify Home menu

Bug 40093: Enable Quit menu button
parent abfb81fe
...@@ -160,12 +160,10 @@ class HomeMenu( ...@@ -160,12 +160,10 @@ class HomeMenu(
null null
} }
val settings = context.components.settings // val settings = context.components.settings
val shouldDeleteBrowsingDataOnQuit = settings.shouldDeleteBrowsingDataOnQuit &&
!settings.shouldDisableNormalMode
val menuItems = listOfNotNull( val menuItems = listOfNotNull(
if (shouldDeleteBrowsingDataOnQuit) quitItem else null, quitItem,
settingsItem, settingsItem,
BrowserMenuDivider(), BrowserMenuDivider(),
// if (settings.syncedTabsInTabsTray) null else syncedTabsItem, // if (settings.syncedTabsInTabsTray) null else syncedTabsItem,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment