From 31396a632fb1693a6413a30ed9f0c7fd15b37de7 Mon Sep 17 00:00:00 2001 From: ge78fug Date: Sat, 14 Jan 2023 09:21:37 +0100 Subject: [PATCH] Chenged the name of the icon --- app/src/main/java/org/schabi/newpipe/MainActivity.java | 2 +- .../java/org/schabi/newpipe/local/subscription/FeedGroupIcon.kt | 2 +- app/src/main/java/org/schabi/newpipe/settings/tabs/Tab.java | 2 +- .../res/drawable/{ic_whats_new.xml => ic_subscriptions.xml} | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename app/src/main/res/drawable/{ic_whats_new.xml => ic_subscriptions.xml} (100%) diff --git a/app/src/main/java/org/schabi/newpipe/MainActivity.java b/app/src/main/java/org/schabi/newpipe/MainActivity.java index d05f3616d..ee2bb3f05 100644 --- a/app/src/main/java/org/schabi/newpipe/MainActivity.java +++ b/app/src/main/java/org/schabi/newpipe/MainActivity.java @@ -235,7 +235,7 @@ public class MainActivity extends AppCompatActivity { .setIcon(R.drawable.ic_tv); drawerLayoutBinding.navigation.getMenu() .add(R.id.menu_tabs_group, ITEM_ID_FEED, ORDER, R.string.fragment_feed_title) - .setIcon(R.drawable.ic_whats_new); + .setIcon(R.drawable.ic_subscriptions); drawerLayoutBinding.navigation.getMenu() .add(R.id.menu_tabs_group, ITEM_ID_BOOKMARKS, ORDER, R.string.tab_bookmarks) .setIcon(R.drawable.ic_bookmark); diff --git a/app/src/main/java/org/schabi/newpipe/local/subscription/FeedGroupIcon.kt b/app/src/main/java/org/schabi/newpipe/local/subscription/FeedGroupIcon.kt index 23718fa53..1fa70e4d8 100644 --- a/app/src/main/java/org/schabi/newpipe/local/subscription/FeedGroupIcon.kt +++ b/app/src/main/java/org/schabi/newpipe/local/subscription/FeedGroupIcon.kt @@ -52,7 +52,7 @@ enum class FeedGroupIcon( STAR(35, R.drawable.ic_stars), SUN(36, R.drawable.ic_wb_sunny), RSS(37, R.drawable.ic_rss_feed), - WHATS_NEW(38, R.drawable.ic_whats_new); + WHATS_NEW(38, R.drawable.ic_subscriptions); @DrawableRes fun getDrawableRes(): Int { diff --git a/app/src/main/java/org/schabi/newpipe/settings/tabs/Tab.java b/app/src/main/java/org/schabi/newpipe/settings/tabs/Tab.java index a08fe6ef6..7e3f5d0c8 100644 --- a/app/src/main/java/org/schabi/newpipe/settings/tabs/Tab.java +++ b/app/src/main/java/org/schabi/newpipe/settings/tabs/Tab.java @@ -248,7 +248,7 @@ public abstract class Tab { @DrawableRes @Override public int getTabIconRes(final Context context) { - return R.drawable.ic_whats_new; + return R.drawable.ic_subscriptions; } @Override diff --git a/app/src/main/res/drawable/ic_whats_new.xml b/app/src/main/res/drawable/ic_subscriptions.xml similarity index 100% rename from app/src/main/res/drawable/ic_whats_new.xml rename to app/src/main/res/drawable/ic_subscriptions.xml