From dbbbee7fab9b2bddd260210fef8e2db343c1d717 Mon Sep 17 00:00:00 2001 From: Satindar Dhillon Date: Tue, 14 Mar 2023 10:44:25 -0700 Subject: [PATCH] use more appropriate icons for labels and archive actions --- .../omnivore/ui/savedItemViews/SavedItemContextMenu.kt | 6 ++++-- .../app/src/main/res/drawable-v24/archive_outline.xml | 1 + android/Omnivore/app/src/main/res/drawable-v24/tag.xml | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 android/Omnivore/app/src/main/res/drawable-v24/archive_outline.xml create mode 100644 android/Omnivore/app/src/main/res/drawable-v24/tag.xml diff --git a/android/Omnivore/app/src/main/java/app/omnivore/omnivore/ui/savedItemViews/SavedItemContextMenu.kt b/android/Omnivore/app/src/main/java/app/omnivore/omnivore/ui/savedItemViews/SavedItemContextMenu.kt index 450b3e767..34a50a11c 100644 --- a/android/Omnivore/app/src/main/java/app/omnivore/omnivore/ui/savedItemViews/SavedItemContextMenu.kt +++ b/android/Omnivore/app/src/main/java/app/omnivore/omnivore/ui/savedItemViews/SavedItemContextMenu.kt @@ -9,6 +9,8 @@ import androidx.compose.material3.DropdownMenuItem import androidx.compose.material3.Icon import androidx.compose.material3.Text import androidx.compose.runtime.Composable +import androidx.compose.ui.res.painterResource +import app.omnivore.omnivore.R import app.omnivore.omnivore.ui.library.SavedItemAction @Composable @@ -30,7 +32,7 @@ fun SavedItemContextMenu( }, leadingIcon = { Icon( - Icons.Outlined.CheckCircle, // TODO: use more appropriate icon + painter = painterResource(id = R.drawable.tag), contentDescription = null ) } @@ -44,7 +46,7 @@ fun SavedItemContextMenu( }, leadingIcon = { Icon( - Icons.Outlined.List, // TODO: use more appropriate icon + painter = painterResource(id = R.drawable.archive_outline), contentDescription = null ) } diff --git a/android/Omnivore/app/src/main/res/drawable-v24/archive_outline.xml b/android/Omnivore/app/src/main/res/drawable-v24/archive_outline.xml new file mode 100644 index 000000000..c8af82753 --- /dev/null +++ b/android/Omnivore/app/src/main/res/drawable-v24/archive_outline.xml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/android/Omnivore/app/src/main/res/drawable-v24/tag.xml b/android/Omnivore/app/src/main/res/drawable-v24/tag.xml new file mode 100644 index 000000000..1c9e83a1c --- /dev/null +++ b/android/Omnivore/app/src/main/res/drawable-v24/tag.xml @@ -0,0 +1 @@ +