Skip to content

Commit 43afcd8

Browse files
committed
fix: add bg to transfer intro screen
1 parent f95cc43 commit 43afcd8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

app/src/main/java/to/bitkit/ui/screens/transfer/TransferIntroScreen.kt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package to.bitkit.ui.screens.transfer
22

33
import androidx.compose.foundation.Image
4+
import androidx.compose.foundation.background
45
import androidx.compose.foundation.layout.Box
56
import androidx.compose.foundation.layout.Column
67
import androidx.compose.foundation.layout.Spacer
@@ -9,6 +10,7 @@ import androidx.compose.foundation.layout.fillMaxWidth
910
import androidx.compose.foundation.layout.height
1011
import androidx.compose.foundation.layout.padding
1112
import androidx.compose.foundation.layout.systemBarsPadding
13+
import androidx.compose.material3.MaterialTheme
1214
import androidx.compose.runtime.Composable
1315
import androidx.compose.ui.Alignment
1416
import androidx.compose.ui.Modifier
@@ -37,6 +39,7 @@ fun TransferIntroScreen(
3739
contentAlignment = Alignment.TopCenter,
3840
modifier = Modifier
3941
.fillMaxSize()
42+
.background(MaterialTheme.colorScheme.background)
4043
.systemBarsPadding()
4144
) {
4245
Image(
@@ -73,9 +76,9 @@ fun TransferIntroScreen(
7376
}
7477
}
7578

76-
@Preview(showSystemUi = true, showBackground = true)
79+
@Preview(showSystemUi = true)
7780
@Composable
78-
private fun TransferIntroScreenPreview() {
81+
private fun Preview() {
7982
AppThemeSurface {
8083
TransferIntroScreen()
8184
}

0 commit comments

Comments
 (0)