fix: fixed top bar paddings

This commit is contained in:
2026-06-15 15:14:12 +03:00
parent 61090eefca
commit 6f9490ea1c
6 changed files with 5 additions and 3 deletions
+2 -2
View File
@@ -12,8 +12,8 @@ android {
applicationId = "ru.omni_devel.cards" applicationId = "ru.omni_devel.cards"
minSdk = 30 minSdk = 30
targetSdk = 36 targetSdk = 36
versionCode = 70 // 0 at end for mobile versionCode = 80 // 0 at end for mobile
versionName = "2.3.0" versionName = "2.3.1"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" 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 modifier = Modifier
.fillMaxWidth() .fillMaxWidth()
.background(MaterialTheme.colorScheme.primaryContainer) .background(MaterialTheme.colorScheme.primaryContainer)
.padding(innerPadding) .padding(top = innerPadding.calculateTopPadding())
.padding(horizontal = 8.dp)
.padding(bottom = 8.dp)
) { ) {
Text( Text(
text, text,
Binary file not shown.
Binary file not shown.