fix(crash): home button painted adaptive mipmap.ic_launcher — on API 26+ that resolves to the adaptive-icon XML and painterResource throws IllegalArgumentException ('Only VectorDrawables and rasterized asset types'), killing the app on first frame. Add rasterized ic_home_mark PNGs and paint those instead; bump to 0.1.2 (versionCode 3).

This commit is contained in:
avi 2026-10-01 10:33:15 -05:00
commit 598556dbdd
6 changed files with 1 additions and 1 deletions

View file

@ -24,7 +24,7 @@ fun AppHomeButton(
) {
IconButton(onClick = onClick, modifier = modifier) {
Image(
painter = painterResource(R.mipmap.ic_launcher),
painter = painterResource(R.drawable.ic_home_mark),
contentDescription = "Home",
modifier = Modifier
.size(30.dp)

Binary file not shown.

After

Width:  |  Height:  |  Size: 7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB