From 90e90b9398c70416a1b492281b8c808cc20ff223 Mon Sep 17 00:00:00 2001 From: litetex <40789489+litetex@users.noreply.github.com> Date: Mon, 25 Apr 2022 20:34:44 +0200 Subject: [PATCH] Removed placeholder prefix --- .../instances/AbstractServiceInstanceListFragment.java | 2 +- .../java/org/schabi/newpipe/util/services/ServiceHelper.java | 4 ++-- .../res/drawable/{ic_placeholder_circle.xml => ic_circle.xml} | 0 .../res/drawable/{ic_placeholder_cloud.xml => ic_cloud.xml} | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename app/src/main/res/drawable/{ic_placeholder_circle.xml => ic_circle.xml} (100%) rename app/src/main/res/drawable/{ic_placeholder_cloud.xml => ic_cloud.xml} (100%) diff --git a/app/src/main/java/org/schabi/newpipe/settings/services/instances/AbstractServiceInstanceListFragment.java b/app/src/main/java/org/schabi/newpipe/settings/services/instances/AbstractServiceInstanceListFragment.java index ba0e7084a1d..cf71640030c 100644 --- a/app/src/main/java/org/schabi/newpipe/settings/services/instances/AbstractServiceInstanceListFragment.java +++ b/app/src/main/java/org/schabi/newpipe/settings/services/instances/AbstractServiceInstanceListFragment.java @@ -362,7 +362,7 @@ protected int getIconForInstance(final I instance) { .filter(c -> c.createdClass().isInstance(instance)) .map(InstanceTypeCreator::icon) .findFirst() - .orElse(R.drawable.ic_placeholder_circle); + .orElse(R.drawable.ic_circle); } /*////////////////////////////////////////////////////////////////////////// diff --git a/app/src/main/java/org/schabi/newpipe/util/services/ServiceHelper.java b/app/src/main/java/org/schabi/newpipe/util/services/ServiceHelper.java index bb30a4c8363..7553677598c 100644 --- a/app/src/main/java/org/schabi/newpipe/util/services/ServiceHelper.java +++ b/app/src/main/java/org/schabi/newpipe/util/services/ServiceHelper.java @@ -30,7 +30,7 @@ public static int getIcon(final int serviceId) { case 0: return R.drawable.ic_smart_display; case 1: - return R.drawable.ic_placeholder_cloud; + return R.drawable.ic_cloud; case 2: return R.drawable.ic_placeholder_media_ccc; case 3: @@ -38,7 +38,7 @@ public static int getIcon(final int serviceId) { case 4: return R.drawable.ic_placeholder_bandcamp; default: - return R.drawable.ic_placeholder_circle; + return R.drawable.ic_circle; } } diff --git a/app/src/main/res/drawable/ic_placeholder_circle.xml b/app/src/main/res/drawable/ic_circle.xml similarity index 100% rename from app/src/main/res/drawable/ic_placeholder_circle.xml rename to app/src/main/res/drawable/ic_circle.xml diff --git a/app/src/main/res/drawable/ic_placeholder_cloud.xml b/app/src/main/res/drawable/ic_cloud.xml similarity index 100% rename from app/src/main/res/drawable/ic_placeholder_cloud.xml rename to app/src/main/res/drawable/ic_cloud.xml