From db83c981f187a8a8de5d19001ceba104af21381d Mon Sep 17 00:00:00 2001 From: Yash Garg Date: Fri, 11 Nov 2022 13:24:13 +0530 Subject: [PATCH] fix: use new style for changing refresh drawable color --- app/src/main/res/drawable/ic_refresh_white_24dp.xml | 9 +++++---- app/src/main/res/values/attrs.xml | 1 + app/src/main/res/values/styles.xml | 2 ++ 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/app/src/main/res/drawable/ic_refresh_white_24dp.xml b/app/src/main/res/drawable/ic_refresh_white_24dp.xml index a8175c316a..c04dc77559 100644 --- a/app/src/main/res/drawable/ic_refresh_white_24dp.xml +++ b/app/src/main/res/drawable/ic_refresh_white_24dp.xml @@ -1,8 +1,9 @@ + android:width="24dp" + android:height="24dp" + android:tint="?widgetRefreshIconColor" + android:viewportWidth="24.0" + android:viewportHeight="24.0"> diff --git a/app/src/main/res/values/attrs.xml b/app/src/main/res/values/attrs.xml index 8ed965e7c8..94bb8a510e 100755 --- a/app/src/main/res/values/attrs.xml +++ b/app/src/main/res/values/attrs.xml @@ -48,6 +48,7 @@ + diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 664806fd25..f503f9dc3b 100755 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -43,6 +43,7 @@ @color/on_surface_high_emphasis @color/on_surface_medium_emphasis ?widgetPrimaryTextColor + ?widgetPrimaryTextColor @color/on_surface_high_emphasis @color/colorAccent @color/colorAccent @@ -56,6 +57,7 @@ #99000000 #61000000 #61000000 + #61000000 #BD000000 @color/colorAccent @color/colorAccent -- GitLab