Scale Themed icons to original app icon size

This commit is contained in:
Jamal Rothfuchs
2023-06-24 22:11:41 +02:00
parent 81ee7893e0
commit f6612c3ed3
6 changed files with 7 additions and 7 deletions
@@ -69,7 +69,7 @@ data class LauncherApp(
return StaticLauncherIcon(
foregroundLayer = TintedIconLayer(
icon = ContextCompat.getDrawable(context, R.drawable.ic_file_android)!!,
scale = 0.5f,
scale = 0.65f,
color = 0xff3dda84.toInt(),
),
backgroundLayer = ColorLayer(0xff3dda84.toInt())
@@ -91,7 +91,7 @@ data class LauncherApp(
if (themed && isAtLeastApiLevel(33) && icon.monochrome != null) {
return StaticLauncherIcon(
foregroundLayer = TintedIconLayer(
scale = 1f,
scale = 1.5f,
icon = icon.monochrome!!,
),
backgroundLayer = ColorLayer()