Browse Source

Rename tracker icon images

arkon 5 years ago
parent
commit
3892b93bca

+ 1 - 1
app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt

@@ -52,7 +52,7 @@ class Anilist(private val context: Context, id: Int) : TrackService(id) {
         }
     }
 
-    override fun getLogo() = R.drawable.anilist
+    override fun getLogo() = R.drawable.tracker_anilist
 
     override fun getLogoColor() = Color.rgb(18, 25, 35)
 

+ 1 - 1
app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/Bangumi.kt

@@ -91,7 +91,7 @@ class Bangumi(private val context: Context, id: Int) : TrackService(id) {
 
   private val api by lazy { BangumiApi(client, interceptor) }
 
-  override fun getLogo() = R.drawable.bangumi
+  override fun getLogo() = R.drawable.tracker_bangumi
 
   override fun getLogoColor() = Color.rgb(0xF0, 0x91, 0x99)
 

+ 1 - 1
app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/Kitsu.kt

@@ -34,7 +34,7 @@ class Kitsu(private val context: Context, id: Int) : TrackService(id) {
     private val api by lazy { KitsuApi(client, interceptor) }
 
     override fun getLogo(): Int {
-        return R.drawable.kitsu
+        return R.drawable.tracker_kitsu
     }
 
     override fun getLogoColor(): Int {

+ 1 - 1
app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeList.kt

@@ -34,7 +34,7 @@ class Myanimelist(private val context: Context, id: Int) : TrackService(id) {
     override val name: String
         get() = "MyAnimeList"
 
-    override fun getLogo() = R.drawable.mal
+    override fun getLogo() = R.drawable.tracker_mal
 
     override fun getLogoColor() = Color.rgb(46, 81, 162)
 

+ 1 - 2
app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/Shikimori.kt

@@ -2,7 +2,6 @@ package eu.kanade.tachiyomi.data.track.shikimori
 
 import android.content.Context
 import android.graphics.Color
-import android.util.Log
 import com.google.gson.Gson
 import eu.kanade.tachiyomi.R
 import eu.kanade.tachiyomi.data.database.models.Track
@@ -84,7 +83,7 @@ class Shikimori(private val context: Context, id: Int) : TrackService(id) {
 
     private val api by lazy { ShikimoriApi(client, interceptor) }
 
-    override fun getLogo() = R.drawable.shikimori
+    override fun getLogo() = R.drawable.tracker_shikimori
 
     override fun getLogoColor() = Color.rgb(40, 40, 40)
 

+ 0 - 0
app/src/main/res/drawable-xxxhdpi/anilist.webp → app/src/main/res/drawable-xxxhdpi/tracker_anilist.webp


+ 0 - 0
app/src/main/res/drawable-xxxhdpi/bangumi.webp → app/src/main/res/drawable-xxxhdpi/tracker_bangumi.webp


+ 0 - 0
app/src/main/res/drawable-xxxhdpi/kitsu.webp → app/src/main/res/drawable-xxxhdpi/tracker_kitsu.webp


+ 0 - 0
app/src/main/res/drawable-xxxhdpi/mal.webp → app/src/main/res/drawable-xxxhdpi/tracker_mal.webp


+ 0 - 0
app/src/main/res/drawable-xxxhdpi/shikimori.webp → app/src/main/res/drawable-xxxhdpi/tracker_shikimori.webp


+ 1 - 1
app/src/main/res/layout/track_item.xml

@@ -25,7 +25,7 @@
                 android:layout_width="wrap_content"
                 android:layout_height="wrap_content"
                 android:layout_gravity="center"
-                tools:src="@drawable/mal" />
+                tools:src="@drawable/tracker_mal" />
 
         </FrameLayout>