Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fenix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
The Tor Project
Applications
fenix
Commits
94888f5b
Unverified
Commit
94888f5b
authored
Oct 20, 2020
by
Matthew Finkel
Browse files
Options
Downloads
Patches
Plain Diff
fixup! Bug 40015: Modify Home menu
Bug 40093: Enable Quit menu button
parent
abfb81fe
No related branches found
No related tags found
1 merge request
!60
Bug 40093 01
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/src/main/java/org/mozilla/fenix/home/HomeMenu.kt
+2
-4
2 additions, 4 deletions
app/src/main/java/org/mozilla/fenix/home/HomeMenu.kt
with
2 additions
and
4 deletions
app/src/main/java/org/mozilla/fenix/home/HomeMenu.kt
+
2
−
4
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,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment