Fix compose SplashScreen crash below API 24
This commit is contained in:
parent
58a76a3d28
commit
95db24bc0a
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ import org.fnives.test.showcase.R
|
|||
fun SplashScreen() {
|
||||
Box(Modifier.fillMaxSize().background(colorResource(R.color.purple_700)), contentAlignment = Alignment.Center) {
|
||||
Image(
|
||||
painter = painterResource(R.drawable.ic_launcher_foreground),
|
||||
painter = painterResource(R.mipmap.ic_launcher_round),
|
||||
contentDescription = null,
|
||||
modifier = Modifier.size(120.dp)
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue