Unverified Commit b30df1e9 authored by Matthew Finkel's avatar Matthew Finkel
Browse files

fixup! Bug 40016: Modify Default toolbar menu

Bug 40093: Enable Quit menu button
parent 94888f5b
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -175,16 +175,13 @@ class DefaultToolbarMenu(
        // Predicates that are called once, during screen init
        val shouldShowSaveToCollection = (context.asActivity() as? HomeActivity)
            ?.browsingModeManager?.mode == BrowsingMode.Normal
        val shouldDeleteDataOnQuit = context.components.settings
            .shouldDeleteBrowsingDataOnQuit &&
            !context.components.settings.shouldDisableNormalMode

        val menuItems = listOfNotNull(
            downloadsItem,
            // historyItem,
            bookmarksItem,
            settings,
            if (shouldDeleteDataOnQuit) deleteDataOnQuit else null,
            deleteDataOnQuit,
            BrowserMenuDivider(),
            findInPage,
            addToTopSites,