[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/tor-browser][tor-browser-128.2.0esr-14.0-1] fixup! [android] Disable features and functionality



Title: GitLab

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

Commits:

  • 47a49a9d
    by Morgan at 2024-08-29T00:25:07+00:00
    fixup! [android] Disable features and functionality
    
    Bug 43094: Remove 'Open in regular tab' button
    

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,
    

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits