unread chip style now material3 (while not typical chip coloring)

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2022-08-03 21:39:20 +02:00
parent 4c9f5bec2e
commit 7e8213d78b
No known key found for this signature in database
GPG Key ID: 6CADC7E3523C308B

View File

@ -621,7 +621,7 @@ class ViewThemeUtils @Inject constructor(private val theme: ServerTheme, private
fun colorChipBackground(chip: Chip) { fun colorChipBackground(chip: Chip) {
withScheme(chip) { scheme -> withScheme(chip) { scheme ->
chip.chipBackgroundColor = ColorStateList.valueOf(scheme.primary) chip.chipBackgroundColor = ColorStateList.valueOf(scheme.primary)
chip.setTextColor(theme.colorText) chip.setTextColor(scheme.onPrimary)
} }
} }