tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 66175104346f38957db57848ef30930d87a0c355
parent 3ebcaf67c8a6d34c63054091c62a2cf6244cd349
Author: Ryan VanderMeulen <rvandermeulen@mozilla.com>
Date:   Fri, 10 Oct 2025 11:32:08 +0000

Bug 1993596 - Fix ModifierParameter warning. r=android-reviewers,mcarare

Differential Revision: https://phabricator.services.mozilla.com/D268217

Diffstat:
Mmobile/android/fenix/app/src/main/java/org/mozilla/fenix/tabstray/ui/bottomappbar/TabManagerBottomAppBar.kt | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/tabstray/ui/bottomappbar/TabManagerBottomAppBar.kt b/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/tabstray/ui/bottomappbar/TabManagerBottomAppBar.kt @@ -48,24 +48,24 @@ import mozilla.components.ui.icons.R as iconsR * [BottomAppBar] for the Tab Manager. * * @param tabsTrayStore [TabsTrayStore] used to listen for changes to [TabsTrayState]. - * @param pbmLocked Whether the private browsing mode is currently locked. * @param scrollBehavior Defines how the [BottomAppBar] should behave when the content under it is scrolled. - * @param modifier The [Modifier] to be applied to this FAB. * @param onTabSettingsClick Invoked when the user clicks on the tab settings banner menu item. * @param onRecentlyClosedClick Invoked when the user clicks on the recently closed banner menu item. * @param onAccountSettingsClick Invoked when the user clicks on the account settings banner menu item. * @param onDeleteAllTabsClick Invoked when the user clicks on the close all tabs banner menu item. + * @param modifier The [Modifier] to be applied to this FAB. + * @param pbmLocked Whether the private browsing mode is currently locked. */ @Composable internal fun TabManagerBottomAppBar( tabsTrayStore: TabsTrayStore, - pbmLocked: Boolean = false, scrollBehavior: BottomAppBarScrollBehavior, - modifier: Modifier = Modifier, onTabSettingsClick: () -> Unit, onRecentlyClosedClick: () -> Unit, onAccountSettingsClick: () -> Unit, onDeleteAllTabsClick: () -> Unit, + modifier: Modifier = Modifier, + pbmLocked: Boolean = false, ) { val state by tabsTrayStore.observeAsState(initialValue = tabsTrayStore.state) { it } val privateTabsLocked = pbmLocked && state.selectedPage == Page.PrivateTabs