Skip to content

Commit

Permalink
Compose: inline padding value.
Browse files Browse the repository at this point in the history
  • Loading branch information
UweTrottmann committed Feb 1, 2024
1 parent ae7809f commit faeaebc
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ class AboutActivity : ComponentActivity() {
}
}

private val defaultSpacerSize = 16.dp

@Composable
fun SgTopAppBar(
titleStringRes: Int,
Expand Down Expand Up @@ -133,7 +131,7 @@ class AboutActivity : ComponentActivity() {
} else {
Modifier
},
contentPadding = scaffoldPadding + PaddingValues(defaultSpacerSize)
contentPadding = scaffoldPadding + PaddingValues(16.dp)
) {
item {
Text(
Expand Down

0 comments on commit faeaebc

Please sign in to comment.