Skip to content

Commit 95d4962

Browse files
committed
chore: implement screen modifier
1 parent 7f15b66 commit 95d4962

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

app/src/main/java/to/bitkit/ui/screens/CriticalUpdateScreen.kt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@ import android.content.Intent
44
import androidx.compose.foundation.Image
55
import androidx.compose.foundation.layout.Column
66
import androidx.compose.foundation.layout.aspectRatio
7-
import androidx.compose.foundation.layout.fillMaxSize
87
import androidx.compose.foundation.layout.fillMaxWidth
98
import androidx.compose.foundation.layout.padding
10-
import androidx.compose.foundation.layout.systemBarsPadding
119
import androidx.compose.runtime.Composable
1210
import androidx.compose.ui.Modifier
1311
import androidx.compose.ui.platform.LocalContext
@@ -23,6 +21,7 @@ import to.bitkit.ui.components.Display
2321
import to.bitkit.ui.components.PrimaryButton
2422
import to.bitkit.ui.components.VerticalSpacer
2523
import to.bitkit.ui.scaffold.AppTopBar
24+
import to.bitkit.ui.shared.util.screen
2625
import to.bitkit.ui.theme.AppThemeSurface
2726
import to.bitkit.ui.theme.Colors
2827
import to.bitkit.ui.utils.withAccent
@@ -33,9 +32,8 @@ fun CriticalUpdateScreen() {
3332

3433
Column(
3534
modifier = Modifier
36-
.fillMaxSize()
35+
.screen()
3736
.padding(horizontal = 32.dp)
38-
.systemBarsPadding()
3937
) {
4038
AppTopBar(
4139
titleText = stringResource(R.string.other__update_critical_nav_title),

0 commit comments

Comments
 (0)