Fix themed calendar icon colors
This commit is contained in:
parent
ad644c9316
commit
cba69ca1b1
@ -111,12 +111,12 @@ internal class ThemedIconProvider(
|
|||||||
if (array.length() != 31) return null
|
if (array.length() != 31) return null
|
||||||
|
|
||||||
return ThemedCalendarDynamicLauncherIcon(
|
return ThemedCalendarDynamicLauncherIcon(
|
||||||
background = ColorDrawable(colors.foreground),
|
background = ColorDrawable(colors.background),
|
||||||
packageName = iconProviderPackage,
|
packageName = iconProviderPackage,
|
||||||
foregroundIds = IntArray(31) {
|
foregroundIds = IntArray(31) {
|
||||||
array.getResourceId(it, 0).takeIf { it != 0 } ?: return null
|
array.getResourceId(it, 0).takeIf { it != 0 } ?: return null
|
||||||
},
|
},
|
||||||
foregroundTint = colors.background,
|
foregroundTint = colors.foreground,
|
||||||
foregroundScale = 0.5f,
|
foregroundScale = 0.5f,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user