diff --git a/changelog.d/5225.misc b/changelog.d/5225.misc new file mode 100644 index 0000000000..799a3a4d81 --- /dev/null +++ b/changelog.d/5225.misc @@ -0,0 +1 @@ +Replacing color "vctr_unread_room_badge" by "vctr_content_secondary" diff --git a/library/ui-styles/src/main/res/values/colors.xml b/library/ui-styles/src/main/res/values/colors.xml index 48ac48a8ca..770b001893 100644 --- a/library/ui-styles/src/main/res/values/colors.xml +++ b/library/ui-styles/src/main/res/values/colors.xml @@ -57,11 +57,6 @@ - - @color/palette_gray_200 - @color/palette_gray_250 - @color/palette_gray_250 - @android:color/white #FF181B21 diff --git a/library/ui-styles/src/main/res/values/theme_black.xml b/library/ui-styles/src/main/res/values/theme_black.xml index c472a4fae5..44d4206d43 100644 --- a/library/ui-styles/src/main/res/values/theme_black.xml +++ b/library/ui-styles/src/main/res/values/theme_black.xml @@ -7,7 +7,6 @@ - @color/vctr_unread_room_badge_black @color/vctr_fab_label_bg_black @color/vctr_fab_label_stroke_black @color/vctr_fab_label_color_black diff --git a/library/ui-styles/src/main/res/values/theme_dark.xml b/library/ui-styles/src/main/res/values/theme_dark.xml index b1d95c5439..100a07f41d 100644 --- a/library/ui-styles/src/main/res/values/theme_dark.xml +++ b/library/ui-styles/src/main/res/values/theme_dark.xml @@ -16,7 +16,6 @@ @color/element_system_dark - @color/vctr_unread_room_badge_dark @color/vctr_fab_label_bg_dark @color/vctr_fab_label_stroke_dark @color/vctr_fab_label_color_dark diff --git a/library/ui-styles/src/main/res/values/theme_light.xml b/library/ui-styles/src/main/res/values/theme_light.xml index dba39c97ca..39e78ee5b1 100644 --- a/library/ui-styles/src/main/res/values/theme_light.xml +++ b/library/ui-styles/src/main/res/values/theme_light.xml @@ -16,7 +16,6 @@ @color/element_system_light - @color/vctr_unread_room_badge_light @color/vctr_fab_label_bg_light @color/vctr_fab_label_stroke_light @color/vctr_fab_label_color_light diff --git a/vector/src/main/java/im/vector/app/features/home/HomeDetailFragment.kt b/vector/src/main/java/im/vector/app/features/home/HomeDetailFragment.kt index a07409d063..ea03b833ac 100644 --- a/vector/src/main/java/im/vector/app/features/home/HomeDetailFragment.kt +++ b/vector/src/main/java/im/vector/app/features/home/HomeDetailFragment.kt @@ -457,7 +457,7 @@ class HomeDetailFragment @Inject constructor( backgroundColor = if (highlight) { ThemeUtils.getColor(requireContext(), R.attr.colorError) } else { - ThemeUtils.getColor(requireContext(), R.attr.vctr_unread_room_badge) + ThemeUtils.getColor(requireContext(), R.attr.vctr_content_secondary) } } diff --git a/vector/src/main/res/drawable/bg_unread_notification.xml b/vector/src/main/res/drawable/bg_unread_notification.xml index 7c9ea18eec..4926f588da 100644 --- a/vector/src/main/res/drawable/bg_unread_notification.xml +++ b/vector/src/main/res/drawable/bg_unread_notification.xml @@ -4,5 +4,5 @@ - - \ No newline at end of file + +