morgan pushed to branch tor-browser-128.2.0esr-14.0-1 at The Tor Project / Applications / Tor Browser

Commits:

1 changed file:

Changes:

  • mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/toolbar/DefaultToolbarMenu.kt
    ... ... @@ -265,12 +265,12 @@ open class DefaultToolbarMenu(
    265 265
             onItemTapped.invoke(ToolbarMenu.Item.RequestDesktop(checked))
    
    266 266
         }
    
    267 267
     
    
    268
    -    private val openInRegularTabItem = BrowserMenuImageText(
    
    269
    -        label = context.getString(R.string.browser_menu_open_in_regular_tab),
    
    270
    -        imageResource = R.drawable.ic_open_in_regular_tab,
    
    271
    -    ) {
    
    272
    -        onItemTapped.invoke(ToolbarMenu.Item.OpenInRegularTab)
    
    273
    -    }
    
    268
    +//  private val openInRegularTabItem = BrowserMenuImageText(
    
    269
    +//      label = context.getString(R.string.browser_menu_open_in_regular_tab),
    
    270
    +//      imageResource = R.drawable.ic_open_in_regular_tab,
    
    271
    +//  ) {
    
    272
    +//      onItemTapped.invoke(ToolbarMenu.Item.OpenInRegularTab)
    
    273
    +//  }
    
    274 274
     
    
    275 275
         private val customizeReaderView = BrowserMenuImageText(
    
    276 276
             label = context.getString(R.string.browser_menu_customize_reader_view),
    
    ... ... @@ -419,7 +419,7 @@ open class DefaultToolbarMenu(
    419 419
                     findInPageItem,
    
    420 420
                     translationsItem.apply { visible = ::shouldShowTranslations },
    
    421 421
                     desktopSiteItem,
    
    422
    -                openInRegularTabItem.apply { visible = ::shouldShowOpenInRegularTab },
    
    422
    +                // openInRegularTabItem.apply { visible = ::shouldShowOpenInRegularTab },
    
    423 423
                     customizeReaderView.apply { visible = ::shouldShowReaderViewCustomization },
    
    424 424
                     // openInApp.apply { visible = ::sho uldShowOpenInApp },
    
    425 425
                     // reportSiteIssuePlaceholder,