Rename tracker icon images

This commit is contained in:
arkon 2020-01-11 22:01:26 -05:00
parent 83c2e907c7
commit 3892b93bca
11 changed files with 6 additions and 7 deletions

View file

@ -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) override fun getLogoColor() = Color.rgb(18, 25, 35)

View file

@ -91,7 +91,7 @@ class Bangumi(private val context: Context, id: Int) : TrackService(id) {
private val api by lazy { BangumiApi(client, interceptor) } 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) override fun getLogoColor() = Color.rgb(0xF0, 0x91, 0x99)

View file

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

View file

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

View file

@ -2,7 +2,6 @@ package eu.kanade.tachiyomi.data.track.shikimori
import android.content.Context import android.content.Context
import android.graphics.Color import android.graphics.Color
import android.util.Log
import com.google.gson.Gson import com.google.gson.Gson
import eu.kanade.tachiyomi.R import eu.kanade.tachiyomi.R
import eu.kanade.tachiyomi.data.database.models.Track 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) } 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) override fun getLogoColor() = Color.rgb(40, 40, 40)

View file

Before

Width:  |  Height:  |  Size: 2 KiB

After

Width:  |  Height:  |  Size: 2 KiB

View file

Before

Width:  |  Height:  |  Size: 826 B

After

Width:  |  Height:  |  Size: 826 B

View file

Before

Width:  |  Height:  |  Size: 8.5 KiB

After

Width:  |  Height:  |  Size: 8.5 KiB

View file

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View file

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View file

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