Skip to content

Commit b51162c

Browse files
committed
Prepare for release 20 (1.20)
1 parent f1b4a01 commit b51162c

File tree

7 files changed

+26
-9
lines changed

7 files changed

+26
-9
lines changed

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ android {
2222
vectorDrawables {
2323
useSupportLibrary true
2424
}
25-
versionCode 19
26-
versionName "1.18"
25+
versionCode 20
26+
versionName "1.20"
2727
}
2828

2929
ksp {

app/src/main/java/com/phpbg/easysync/ui/theme/Theme.kt

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,12 @@
2525
package com.phpbg.easysync.ui.theme
2626

2727
import android.os.Build
28+
import androidx.compose.foundation.background
2829
import androidx.compose.foundation.isSystemInDarkTheme
30+
import androidx.compose.foundation.layout.Box
31+
import androidx.compose.foundation.layout.fillMaxSize
2932
import androidx.compose.foundation.layout.safeDrawingPadding
3033
import androidx.compose.material3.MaterialTheme
31-
import androidx.compose.material3.Surface
3234
import androidx.compose.material3.darkColorScheme
3335
import androidx.compose.material3.dynamicDarkColorScheme
3436
import androidx.compose.material3.dynamicLightColorScheme
@@ -71,17 +73,27 @@ fun EasySyncTheme(
7173
else -> LightColorScheme
7274
}
7375
MaterialTheme(
74-
colorScheme = colorScheme, typography = Typography, content = content
76+
colorScheme = colorScheme,
77+
typography = Typography,
78+
content = content
7579
)
7680
}
7781

7882
@Composable
7983
fun ThemeSurface(content: @Composable () -> Unit) {
8084
EasySyncTheme {
81-
Surface(
82-
color = MaterialTheme.colorScheme.background,
83-
modifier = Modifier.safeDrawingPadding(),
84-
content = content
85-
)
85+
Box(
86+
modifier = Modifier
87+
.fillMaxSize()
88+
.background(MaterialTheme.colorScheme.background) // Background covers the entire screen
89+
) {
90+
Box(
91+
modifier = Modifier
92+
.fillMaxSize()
93+
.safeDrawingPadding(), // Content is padded away from edges
94+
) {
95+
content()
96+
}
97+
}
8698
}
8799
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
UI-Korrekturen für Android 15+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Android 15+ UI fixes
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Correcciones de UI para Android 15+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Corrections interface utilisateur pour Android 15+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Исправления пользовательского интерфейса для Android 15+

0 commit comments

Comments
 (0)