mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 12:09:45 +01:00
unread chip style now material3 (while not typical chip coloring)
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
4c9f5bec2e
commit
7e8213d78b
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user