From 0eef248d7d069b7aa69a0e0d96e589422d4dd581 Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Tue, 28 Sep 2021 11:33:46 +0100 Subject: [PATCH] tinting the jump to unread view to the colorPrimary - the vector itself is set to an obvious red to highlight an incorrect usage (we should tint at the consumer to allow for reuse/preparing for design components/compose) --- vector/src/main/res/drawable/ic_jump_to_unread.xml | 2 +- vector/src/main/res/layout/fragment_room_detail.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/vector/src/main/res/drawable/ic_jump_to_unread.xml b/vector/src/main/res/drawable/ic_jump_to_unread.xml index 2c5b8b90c1..3d13aabd50 100644 --- a/vector/src/main/res/drawable/ic_jump_to_unread.xml +++ b/vector/src/main/res/drawable/ic_jump_to_unread.xml @@ -5,6 +5,6 @@ android:viewportHeight="24"> diff --git a/vector/src/main/res/layout/fragment_room_detail.xml b/vector/src/main/res/layout/fragment_room_detail.xml index 66dbbd2840..7af1e27551 100644 --- a/vector/src/main/res/layout/fragment_room_detail.xml +++ b/vector/src/main/res/layout/fragment_room_detail.xml @@ -139,6 +139,7 @@ android:text="@string/room_jump_to_first_unread" android:visibility="invisible" app:chipIcon="@drawable/ic_jump_to_unread" + app:chipIconTint="?colorPrimary" app:closeIcon="@drawable/ic_close_24dp" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent"