From af45fa4a2029d8aa350d1db1145e152c0c95ffd9 Mon Sep 17 00:00:00 2001 From: Carlos Date: Tue, 31 Mar 2020 13:51:14 -0400 Subject: [PATCH] renamed webp files with prefix ic_ since these are icons for the trackers --- .../kanade/tachiyomi/data/track/anilist/Anilist.kt | 2 +- .../kanade/tachiyomi/data/track/bangumi/Bangumi.kt | 2 +- .../eu/kanade/tachiyomi/data/track/kitsu/Kitsu.kt | 2 +- .../tachiyomi/data/track/myanimelist/MyAnimeList.kt | 2 +- .../tachiyomi/data/track/shikimori/Shikimori.kt | 2 +- ...tracker_anilist.webp => ic_tracker_anilist.webp} | Bin ...tracker_bangumi.webp => ic_tracker_bangumi.webp} | Bin .../{tracker_kitsu.webp => ic_tracker_kitsu.webp} | Bin .../{tracker_mal.webp => ic_tracker_mal.webp} | Bin ...ker_shikimori.webp => ic_tracker_shikimori.webp} | Bin app/src/main/res/layout/track_item.xml | 2 +- 11 files changed, 6 insertions(+), 6 deletions(-) rename app/src/main/res/drawable-xxxhdpi/{tracker_anilist.webp => ic_tracker_anilist.webp} (100%) rename app/src/main/res/drawable-xxxhdpi/{tracker_bangumi.webp => ic_tracker_bangumi.webp} (100%) rename app/src/main/res/drawable-xxxhdpi/{tracker_kitsu.webp => ic_tracker_kitsu.webp} (100%) rename app/src/main/res/drawable-xxxhdpi/{tracker_mal.webp => ic_tracker_mal.webp} (100%) rename app/src/main/res/drawable-xxxhdpi/{tracker_shikimori.webp => ic_tracker_shikimori.webp} (100%) diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt b/app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt index b536909fa6..12ba91ed65 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt @@ -32,7 +32,7 @@ class Anilist(private val context: Context, id: Int) : TrackService(id) { } } - override fun getLogo() = R.drawable.tracker_anilist + override fun getLogo() = R.drawable.ic_tracker_anilist override fun getLogoColor() = Color.rgb(18, 25, 35) diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/Bangumi.kt b/app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/Bangumi.kt index e8c7d28a3c..72e69bf80b 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/Bangumi.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/Bangumi.kt @@ -68,7 +68,7 @@ class Bangumi(private val context: Context, id: Int) : TrackService(id) { return track } - override fun getLogo() = R.drawable.tracker_bangumi + override fun getLogo() = R.drawable.ic_tracker_bangumi override fun getLogoColor() = Color.rgb(240, 145, 153) diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/Kitsu.kt b/app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/Kitsu.kt index f1993860e3..5a055380ff 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/Kitsu.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/Kitsu.kt @@ -33,7 +33,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.tracker_kitsu + return R.drawable.ic_tracker_kitsu } override fun getLogoColor(): Int { diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeList.kt b/app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeList.kt index e55ca8c7f9..9e235a2780 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeList.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeList.kt @@ -17,7 +17,7 @@ class MyAnimeList(private val context: Context, id: Int) : TrackService(id) { override val name = "MyAnimeList" - override fun getLogo() = R.drawable.tracker_mal + override fun getLogo() = R.drawable.ic_tracker_mal override fun getLogoColor() = Color.rgb(46, 81, 162) diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/Shikimori.kt b/app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/Shikimori.kt index 5ebd356cae..1c6b3e5cdf 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/Shikimori.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/Shikimori.kt @@ -19,7 +19,7 @@ class Shikimori(private val context: Context, id: Int) : TrackService(id) { private val api by lazy { ShikimoriApi(client, interceptor) } - override fun getLogo() = R.drawable.tracker_shikimori + override fun getLogo() = R.drawable.ic_tracker_shikimori override fun getLogoColor() = Color.rgb(40, 40, 40) diff --git a/app/src/main/res/drawable-xxxhdpi/tracker_anilist.webp b/app/src/main/res/drawable-xxxhdpi/ic_tracker_anilist.webp similarity index 100% rename from app/src/main/res/drawable-xxxhdpi/tracker_anilist.webp rename to app/src/main/res/drawable-xxxhdpi/ic_tracker_anilist.webp diff --git a/app/src/main/res/drawable-xxxhdpi/tracker_bangumi.webp b/app/src/main/res/drawable-xxxhdpi/ic_tracker_bangumi.webp similarity index 100% rename from app/src/main/res/drawable-xxxhdpi/tracker_bangumi.webp rename to app/src/main/res/drawable-xxxhdpi/ic_tracker_bangumi.webp diff --git a/app/src/main/res/drawable-xxxhdpi/tracker_kitsu.webp b/app/src/main/res/drawable-xxxhdpi/ic_tracker_kitsu.webp similarity index 100% rename from app/src/main/res/drawable-xxxhdpi/tracker_kitsu.webp rename to app/src/main/res/drawable-xxxhdpi/ic_tracker_kitsu.webp diff --git a/app/src/main/res/drawable-xxxhdpi/tracker_mal.webp b/app/src/main/res/drawable-xxxhdpi/ic_tracker_mal.webp similarity index 100% rename from app/src/main/res/drawable-xxxhdpi/tracker_mal.webp rename to app/src/main/res/drawable-xxxhdpi/ic_tracker_mal.webp diff --git a/app/src/main/res/drawable-xxxhdpi/tracker_shikimori.webp b/app/src/main/res/drawable-xxxhdpi/ic_tracker_shikimori.webp similarity index 100% rename from app/src/main/res/drawable-xxxhdpi/tracker_shikimori.webp rename to app/src/main/res/drawable-xxxhdpi/ic_tracker_shikimori.webp diff --git a/app/src/main/res/layout/track_item.xml b/app/src/main/res/layout/track_item.xml index 2a60d51f49..5810e54924 100644 --- a/app/src/main/res/layout/track_item.xml +++ b/app/src/main/res/layout/track_item.xml @@ -34,7 +34,7 @@ android:contentDescription="@string/tracking" android:layout_height="wrap_content" android:layout_gravity="center" - tools:src="@drawable/tracker_mal" /> + tools:src="@drawable/ic_tracker_mal" />