From 3fec18b9a8bad282b7a8327f71fa048c4f87c449 Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Tue, 31 Mar 2026 10:40:24 -0400 Subject: [PATCH] Improvements to the old bookmarks screen --- .../loggedIn/bookmarkgroups/old/OldBookmarkListScreen.kt | 6 ++---- amethyst/src/main/res/values/strings.xml | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/bookmarkgroups/old/OldBookmarkListScreen.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/bookmarkgroups/old/OldBookmarkListScreen.kt index 41438b91c..107b3e2bd 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/bookmarkgroups/old/OldBookmarkListScreen.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/bookmarkgroups/old/OldBookmarkListScreen.kt @@ -32,7 +32,7 @@ import androidx.compose.material.icons.automirrored.filled.DriveFileMove import androidx.compose.material3.ExtendedFloatingActionButton import androidx.compose.material3.Icon import androidx.compose.material3.MaterialTheme -import androidx.compose.material3.SecondaryScrollableTabRow +import androidx.compose.material3.SecondaryTabRow import androidx.compose.material3.Tab import androidx.compose.material3.Text import androidx.compose.runtime.Composable @@ -42,7 +42,6 @@ import androidx.compose.runtime.rememberCoroutineScope import androidx.compose.ui.Modifier import androidx.compose.ui.graphics.Color import androidx.compose.ui.platform.LocalContext -import androidx.compose.ui.unit.dp import androidx.lifecycle.compose.collectAsStateWithLifecycle import androidx.lifecycle.viewmodel.compose.viewModel import com.vitorpamplona.amethyst.R @@ -102,11 +101,10 @@ private fun RenderOldBookmarkScreen( topBar = { Column { TopBarWithBackButton(stringRes(id = R.string.old_bookmarks_title), nav::popBack) - SecondaryScrollableTabRow( + SecondaryTabRow( containerColor = Color.Transparent, contentColor = MaterialTheme.colorScheme.onBackground, selectedTabIndex = pagerState.currentPage, - edgePadding = 8.dp, modifier = TabRowHeight, ) { Tab( diff --git a/amethyst/src/main/res/values/strings.xml b/amethyst/src/main/res/values/strings.xml index 3e1b2c8db..78f7becc5 100644 --- a/amethyst/src/main/res/values/strings.xml +++ b/amethyst/src/main/res/values/strings.xml @@ -409,9 +409,9 @@ Manual Zap Splits Bookmarks Bookmarks - Your bookmarks (kind 10003) + Your bookmarks Old Bookmarks - Your old bookmarks (kind 30001). Migrate them to the new format. + Your old bookmarks Move All to New Bookmarks Bookmarks migrated successfully Drafts