fix: fixed top bar paddings
This commit is contained in:
@@ -12,8 +12,8 @@ android {
|
||||
applicationId = "ru.omni_devel.cards"
|
||||
minSdk = 30
|
||||
targetSdk = 36
|
||||
versionCode = 70 // 0 at end for mobile
|
||||
versionName = "2.3.0"
|
||||
versionCode = 80 // 0 at end for mobile
|
||||
versionName = "2.3.1"
|
||||
|
||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -58,7 +58,9 @@ fun TopBar(text: String, innerPadding: PaddingValues) {
|
||||
modifier = Modifier
|
||||
.fillMaxWidth()
|
||||
.background(MaterialTheme.colorScheme.primaryContainer)
|
||||
.padding(innerPadding)
|
||||
.padding(top = innerPadding.calculateTopPadding())
|
||||
.padding(horizontal = 8.dp)
|
||||
.padding(bottom = 8.dp)
|
||||
) {
|
||||
Text(
|
||||
text,
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user