summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorflofriday <flohacksfriday@gmail.com>2024-06-13 08:23:26 +0200
committerGitHub <noreply@github.com>2024-06-13 08:23:26 +0200
commit76bc899173d162e1fe059454110078dc9f770185 (patch)
tree462ce100922208601915ca3d8150958b4bd69c35
parenta3cd74d5ae68ebacf8155b1c119e55266d4dae09 (diff)
downloadAntennaPod-76bc899173d162e1fe059454110078dc9f770185.zip
Fix error icon in the drawer (#7238)
There has been some regression that the error icon in the drawer was just a circle instead of the the exclamation mark. The error occurred because the icon was modified to have a background circle once it was added to the subscription screens. However, in the drawer a icon tint was applied which now also tinted the background and made now only the background show.
-rw-r--r--app/src/main/res/layout/nav_listitem.xml1
-rw-r--r--ui/common/src/main/res/drawable/ic_error.xml4
2 files changed, 2 insertions, 3 deletions
diff --git a/app/src/main/res/layout/nav_listitem.xml b/app/src/main/res/layout/nav_listitem.xml
index eb8fa3c1d..b6ff744c8 100644
--- a/app/src/main/res/layout/nav_listitem.xml
+++ b/app/src/main/res/layout/nav_listitem.xml
@@ -59,7 +59,6 @@
android:visibility="gone"
android:contentDescription="@string/refresh_failed_msg"
app:srcCompat="@drawable/ic_error"
- app:tint="?attr/icon_red"
tools:text="!" />
<TextView
diff --git a/ui/common/src/main/res/drawable/ic_error.xml b/ui/common/src/main/res/drawable/ic_error.xml
index fc4fa2b9a..e16146cee 100644
--- a/ui/common/src/main/res/drawable/ic_error.xml
+++ b/ui/common/src/main/res/drawable/ic_error.xml
@@ -1,6 +1,6 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
- android:width="16dp"
- android:height="16dp"
+ android:height="24dp"
+ android:width="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path