From f52d49ad00996db0d581906f9928e2b07988c9d5 Mon Sep 17 00:00:00 2001 From: arkon Date: Sun, 12 Apr 2020 12:34:06 -0400 Subject: [PATCH] Replace some icons --- .../tachiyomi/ui/source/browse/BrowseSourceController.kt | 4 ++-- app/src/main/res/drawable/ic_view_list_24dp.xml | 9 +++++++++ app/src/main/res/drawable/ic_view_list_white_24dp.xml | 9 --------- app/src/main/res/drawable/ic_view_module_24dp.xml | 9 +++++++++ app/src/main/res/drawable/ic_view_module_white_24dp.xml | 9 --------- app/src/main/res/menu/source_browse.xml | 1 + 6 files changed, 21 insertions(+), 20 deletions(-) create mode 100644 app/src/main/res/drawable/ic_view_list_24dp.xml delete mode 100644 app/src/main/res/drawable/ic_view_list_white_24dp.xml create mode 100644 app/src/main/res/drawable/ic_view_module_24dp.xml delete mode 100644 app/src/main/res/drawable/ic_view_module_white_24dp.xml diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/source/browse/BrowseSourceController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/source/browse/BrowseSourceController.kt index fbfb97c19..794fca33f 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/source/browse/BrowseSourceController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/source/browse/BrowseSourceController.kt @@ -270,9 +270,9 @@ open class BrowseSourceController(bundle: Bundle) : // Show next display mode menu.findItem(R.id.action_display_mode).apply { val icon = if (presenter.isListMode) - R.drawable.ic_view_module_white_24dp + R.drawable.ic_view_module_24dp else - R.drawable.ic_view_list_white_24dp + R.drawable.ic_view_list_24dp setIcon(icon) } } diff --git a/app/src/main/res/drawable/ic_view_list_24dp.xml b/app/src/main/res/drawable/ic_view_list_24dp.xml new file mode 100644 index 000000000..fee886818 --- /dev/null +++ b/app/src/main/res/drawable/ic_view_list_24dp.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/drawable/ic_view_list_white_24dp.xml b/app/src/main/res/drawable/ic_view_list_white_24dp.xml deleted file mode 100644 index 222dc3b35..000000000 --- a/app/src/main/res/drawable/ic_view_list_white_24dp.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/app/src/main/res/drawable/ic_view_module_24dp.xml b/app/src/main/res/drawable/ic_view_module_24dp.xml new file mode 100644 index 000000000..1a67bbf97 --- /dev/null +++ b/app/src/main/res/drawable/ic_view_module_24dp.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/drawable/ic_view_module_white_24dp.xml b/app/src/main/res/drawable/ic_view_module_white_24dp.xml deleted file mode 100644 index aeb72e7b4..000000000 --- a/app/src/main/res/drawable/ic_view_module_white_24dp.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/app/src/main/res/menu/source_browse.xml b/app/src/main/res/menu/source_browse.xml index b4415d8ab..9239fd7f9 100644 --- a/app/src/main/res/menu/source_browse.xml +++ b/app/src/main/res/menu/source_browse.xml @@ -11,6 +11,7 @@