Fix bad naming of resource.

This commit is contained in:
Benoit Marty
2024-07-03 21:36:08 +02:00
parent 44930af4cc
commit 3825bb6f9a
8 changed files with 3 additions and 3 deletions

View File

@@ -30,7 +30,7 @@ import androidx.compose.ui.tooling.preview.Preview
@Composable
internal fun IconPreview() {
Box {
Image(painter = painterResource(id = R.mipmap.ic_launcher_background), contentDescription = null)
Image(painter = painterResource(id = R.mipmap.ic_launcher_background_enterprise), contentDescription = null)
Image(
modifier = Modifier.align(Alignment.Center),
painter = painterResource(id = R.mipmap.ic_launcher_foreground_enterprise),
@@ -43,7 +43,7 @@ internal fun IconPreview() {
@Composable
internal fun RoundIconPreview() {
Box(modifier = Modifier.clip(shape = CircleShape)) {
Image(painter = painterResource(id = R.mipmap.ic_launcher_background), contentDescription = null)
Image(painter = painterResource(id = R.mipmap.ic_launcher_background_enterprise), contentDescription = null)
Image(
modifier = Modifier.align(Alignment.Center),
painter = painterResource(id = R.mipmap.ic_launcher_foreground_enterprise),

View File

@@ -1,2 +1,2 @@
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@mipmap/ic_launcher_background" />
android:src="@mipmap/ic_launcher_background_enterprise" />