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 Jan 31, 2024
1 parent 94878c8 commit 85a4c9b
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 85a4c9b

Please sign in to comment.