Skip to content

Commit

Permalink
fix BookmarksScreen.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
akliuxingyuan committed Nov 26, 2024
1 parent 5e31809 commit 102695e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ internal fun BookmarksScreen(
) {
val navController = rememberNavController()
val store = buildStore(navController)

DisposableEffect(LocalLifecycleOwner.current) {
onDispose {
store.dispatch(ViewDisposed)
Expand Down Expand Up @@ -524,7 +525,6 @@ private fun AlertDialogDeletionWarning(
onCancelTapped: () -> Unit,
onDeleteTapped: () -> Unit,
) {
val appName = stringResource(R.string.app_name)
AlertDialog(
title = {
Text(
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 102695e

Please sign in to comment.