Fix non adaptive calendar icons from icon packs having color filter
This commit is contained in:
parent
b5110afe62
commit
2917302766
@ -38,7 +38,7 @@ internal class DynamicCalendarIcon(
|
|||||||
when {
|
when {
|
||||||
drawable is AdaptiveIconDrawable -> AdaptiveIconDrawableCompat.from(drawable).toLauncherIcon(themed = isThemed)
|
drawable is AdaptiveIconDrawable -> AdaptiveIconDrawableCompat.from(drawable).toLauncherIcon(themed = isThemed)
|
||||||
drawable != null -> StaticLauncherIcon(
|
drawable != null -> StaticLauncherIcon(
|
||||||
foregroundLayer = TintedIconLayer(
|
foregroundLayer = StaticIconLayer(
|
||||||
icon = drawable,
|
icon = drawable,
|
||||||
scale = 1f,
|
scale = 1f,
|
||||||
),
|
),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user