From 102695efe39001bbfc2db47e3342c4489ad78443 Mon Sep 17 00:00:00 2001 From: akliuxingyuan Date: Tue, 26 Nov 2024 23:05:52 +0800 Subject: [PATCH] fix BookmarksScreen.kt --- .../org/mozilla/fenix/library/bookmarks/ui/BookmarksScreen.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/org/mozilla/fenix/library/bookmarks/ui/BookmarksScreen.kt b/app/src/main/java/org/mozilla/fenix/library/bookmarks/ui/BookmarksScreen.kt index 9d77ac2dc789..34d11598804a 100644 --- a/app/src/main/java/org/mozilla/fenix/library/bookmarks/ui/BookmarksScreen.kt +++ b/app/src/main/java/org/mozilla/fenix/library/bookmarks/ui/BookmarksScreen.kt @@ -92,6 +92,7 @@ internal fun BookmarksScreen( ) { val navController = rememberNavController() val store = buildStore(navController) + DisposableEffect(LocalLifecycleOwner.current) { onDispose { store.dispatch(ViewDisposed) @@ -524,7 +525,6 @@ private fun AlertDialogDeletionWarning( onCancelTapped: () -> Unit, onDeleteTapped: () -> Unit, ) { - val appName = stringResource(R.string.app_name) AlertDialog( title = { Text( @@ -614,7 +614,7 @@ private fun SelectFolderScreen( if (showNewFolderButton) { item { IconListItem( - label = stringResource(R.string.bookmark_add_folder), + label = stringResource(R.string.bookmark_select_folder_new_folder_button_title), labelTextColor = FirefoxTheme.colors.textAccent, beforeIconPainter = painterResource(R.drawable.mozac_ic_folder_add_24), beforeIconTint = FirefoxTheme.colors.textAccent,