Skip to content

Commit

Permalink
💄 More UI changes
Browse files Browse the repository at this point in the history
Let's make it prettier!
  • Loading branch information
igorescodro committed Sep 26, 2022
1 parent 410c444 commit 2df2c6a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ import java.util.Locale
fun About(onUpPress: () -> Unit) {
Scaffold(
topBar = { AlkaaToolbar(onUpPress = onUpPress) },
content = { AboutContent() }
content = { paddingValues -> AboutContent(modifier = Modifier.padding(paddingValues)) }
)
}

@Composable
private fun AboutContent() {
Column(modifier = Modifier.verticalScroll(rememberScrollState())) {
private fun AboutContent(modifier: Modifier) {
Column(modifier = modifier.verticalScroll(rememberScrollState())) {
ContentHeader()
Text(
text = stringResource(id = R.string.about_description),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ internal fun AddTaskLoader(
modifier = Modifier
.fillMaxWidth()
.height(256.dp)
.background(MaterialTheme.colorScheme.surface) // Accompanist does not support M3 yet
.padding(16.dp),
verticalArrangement = Arrangement.SpaceAround
) {
Expand Down

0 comments on commit 2df2c6a

Please sign in to comment.