Fix themed calendar icon colors

This commit is contained in:
MM20 2022-03-06 13:32:26 +01:00
parent ad644c9316
commit cba69ca1b1
No known key found for this signature in database
GPG Key ID: 0B61A8F2DEAFA389

View File

@ -111,12 +111,12 @@ internal class ThemedIconProvider(
if (array.length() != 31) return null
return ThemedCalendarDynamicLauncherIcon(
background = ColorDrawable(colors.foreground),
background = ColorDrawable(colors.background),
packageName = iconProviderPackage,
foregroundIds = IntArray(31) {
array.getResourceId(it, 0).takeIf { it != 0 } ?: return null
},
foregroundTint = colors.background,
foregroundTint = colors.foreground,
foregroundScale = 0.5f,
)