Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tor Browser
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Applications
Tor Browser
Commits
47a49a9d
Commit
47a49a9d
authored
6 months ago
by
morgan
Browse files
Options
Downloads
Patches
Plain Diff
fixup! [android] Disable features and functionality
Bug 43094: Remove 'Open in regular tab' button
parent
431ff1b6
No related branches found
Branches containing commit
Tags
base-browser-115.15.0esr-13.5-1-build2
2 merge requests
!1202
Bug_43099: 2024 YEC Strings
,
!1148
Bug 43094: Remove "Open in regular tab" button
Pipeline
#198928
passed
6 months ago
Stage: setup
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/toolbar/DefaultToolbarMenu.kt
+7
-7
7 additions, 7 deletions
...rg/mozilla/fenix/components/toolbar/DefaultToolbarMenu.kt
with
7 additions
and
7 deletions
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/toolbar/DefaultToolbarMenu.kt
+
7
−
7
View file @
47a49a9d
...
...
@@ -265,12 +265,12 @@ open class DefaultToolbarMenu(
onItemTapped
.
invoke
(
ToolbarMenu
.
Item
.
RequestDesktop
(
checked
))
}
private
val
openInRegularTabItem
=
BrowserMenuImageText
(
label
=
context
.
getString
(
R
.
string
.
browser_menu_open_in_regular_tab
),
imageResource
=
R
.
drawable
.
ic_open_in_regular_tab
,
)
{
onItemTapped
.
invoke
(
ToolbarMenu
.
Item
.
OpenInRegularTab
)
}
//
private val openInRegularTabItem = BrowserMenuImageText(
//
label = context.getString(R.string.browser_menu_open_in_regular_tab),
//
imageResource = R.drawable.ic_open_in_regular_tab,
//
) {
//
onItemTapped.invoke(ToolbarMenu.Item.OpenInRegularTab)
//
}
private
val
customizeReaderView
=
BrowserMenuImageText
(
label
=
context
.
getString
(
R
.
string
.
browser_menu_customize_reader_view
),
...
...
@@ -419,7 +419,7 @@ open class DefaultToolbarMenu(
findInPageItem
,
translationsItem
.
apply
{
visible
=
::
shouldShowTranslations
},
desktopSiteItem
,
openInRegularTabItem
.
apply
{
visible
=
::
shouldShowOpenInRegularTab
},
//
openInRegularTabItem.apply { visible = ::shouldShowOpenInRegularTab },
customizeReaderView
.
apply
{
visible
=
::
shouldShowReaderViewCustomization
},
// openInApp.apply { visible = ::sho uldShowOpenInApp },
// reportSiteIssuePlaceholder,
...
...
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
register
or
sign in
to comment