diff --git a/app/src/main/java/com/saulhdev/feeder/compose/pages/BookmarksPage.kt b/app/src/main/java/com/saulhdev/feeder/compose/pages/BookmarksPage.kt index 115327b..5b2d70f 100644 --- a/app/src/main/java/com/saulhdev/feeder/compose/pages/BookmarksPage.kt +++ b/app/src/main/java/com/saulhdev/feeder/compose/pages/BookmarksPage.kt @@ -22,11 +22,9 @@ import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.PaddingValues import androidx.compose.foundation.lazy.LazyColumn import androidx.compose.foundation.lazy.items -import androidx.compose.material3.MaterialTheme import androidx.compose.runtime.Composable import androidx.compose.runtime.collectAsState import androidx.compose.runtime.rememberCoroutineScope -import androidx.compose.ui.graphics.toArgb import androidx.compose.ui.platform.LocalContext import androidx.compose.ui.res.stringResource import androidx.compose.ui.unit.dp @@ -50,7 +48,6 @@ fun BookmarksPage() { ViewWithActionBar( title = stringResource(id = R.string.title_bookmarks), ) { paddingValues -> - val toolbarColor = MaterialTheme.colorScheme.primary.toArgb() LazyColumn( verticalArrangement = Arrangement.spacedBy(4.dp), contentPadding = PaddingValues( @@ -79,8 +76,7 @@ fun BookmarksPage() { } else { openLinkInCustomTab( context, - article.link!!, - toolbarColor + article.link!! ) } }