Skip to content

Commit

Permalink
change amoled active icon color, change trending posts bottom padding
Browse files Browse the repository at this point in the history
  • Loading branch information
daniebeler committed Feb 22, 2025
1 parent 3385c7f commit 9345b61
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,15 @@ fun InfinitePostsList(
onRefresh = onRefresh,
) {
LazyColumn(
verticalArrangement = Arrangement.spacedBy(4.dp), state = lazyListState, contentPadding = PaddingValues(top = if (postsCount != null) {0.dp} else {12.dp}, bottom = contentPaddingBottom )
verticalArrangement = Arrangement.spacedBy(4.dp),
state = lazyListState,
contentPadding = PaddingValues(
top = if (postsCount != null) {
0.dp
} else {
12.dp
}, bottom = contentPaddingBottom
)
) {
postsCount?.let {
item {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ fun TrendingPostsComposable(
onRefresh = { viewModel.getTrendingPosts(range, true) },
navController = navController,
postGetsUpdated = { },
contentPaddingBottom = 90.dp
contentPaddingBottom = 10.dp
)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ fun ColorScheme.toAmoled(): ColorScheme {
onSurfaceVariant = onSurfaceVariant,
surfaceTint = surfaceTint,
surfaceContainer = surfaceContainer.darken(0.4f),
inverseSurface = inverseSurface.darken(),
inverseSurface = inverseSurface.darken(0.2f),
inverseOnSurface = inverseOnSurface.darken(0.2f),
outline = outline.darken(0.2f),
outlineVariant = outlineVariant.darken(0.2f)
Expand Down

0 comments on commit 9345b61

Please sign in to comment.