Rename resource to avoid resource override when generating screenshot.
This commit is contained in:
@@ -33,7 +33,7 @@ internal fun IconPreview() {
|
||||
Image(painter = painterResource(id = R.mipmap.ic_launcher_background), contentDescription = null)
|
||||
Image(
|
||||
modifier = Modifier.align(Alignment.Center),
|
||||
painter = painterResource(id = R.mipmap.ic_launcher_foreground),
|
||||
painter = painterResource(id = R.mipmap.ic_launcher_foreground_enterprise),
|
||||
contentDescription = null,
|
||||
)
|
||||
}
|
||||
@@ -46,7 +46,7 @@ internal fun RoundIconPreview() {
|
||||
Image(painter = painterResource(id = R.mipmap.ic_launcher_background), contentDescription = null)
|
||||
Image(
|
||||
modifier = Modifier.align(Alignment.Center),
|
||||
painter = painterResource(id = R.mipmap.ic_launcher_foreground),
|
||||
painter = painterResource(id = R.mipmap.ic_launcher_foreground_enterprise),
|
||||
contentDescription = null,
|
||||
)
|
||||
}
|
||||
|
||||
@@ -16,6 +16,6 @@
|
||||
-->
|
||||
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@drawable/ic_launcher_background"/>
|
||||
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
|
||||
<background android:drawable="@drawable/ic_launcher_background_enterprise"/>
|
||||
<foreground android:drawable="@mipmap/ic_launcher_foreground_enterprise"/>
|
||||
</adaptive-icon>
|
||||
|
||||
@@ -16,6 +16,6 @@
|
||||
-->
|
||||
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@drawable/ic_launcher_background" />
|
||||
<foreground android:drawable="@mipmap/ic_launcher_foreground" />
|
||||
<background android:drawable="@drawable/ic_launcher_background_enterprise" />
|
||||
<foreground android:drawable="@mipmap/ic_launcher_foreground_enterprise" />
|
||||
</adaptive-icon>
|
||||
|
||||
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Reference in New Issue
Block a user