Browse Source

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

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 2 years ago
parent
commit
7e8213d78b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/src/main/java/com/nextcloud/talk/ui/theme/ViewThemeUtils.kt

+ 1 - 1
app/src/main/java/com/nextcloud/talk/ui/theme/ViewThemeUtils.kt

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