Skip to content

Commit

Permalink
Reformat code
Browse files Browse the repository at this point in the history
Signed-off-by: Saul Henriquez <[email protected]>
  • Loading branch information
saulhdev committed Aug 25, 2023
1 parent 17dfe92 commit 5e88b61
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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(
Expand Down Expand Up @@ -79,8 +76,7 @@ fun BookmarksPage() {
} else {
openLinkInCustomTab(
context,
article.link!!,
toolbarColor
article.link!!
)
}
}
Expand Down

0 comments on commit 5e88b61

Please sign in to comment.