mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-22 13:31:51 +01:00
Remove janky tracker icon UI
This commit is contained in:
parent
c23506e887
commit
ab46bd56b0
@ -20,7 +20,6 @@ import eu.kanade.tachiyomi.ui.setting.track.TrackLoginDialog
|
|||||||
import eu.kanade.tachiyomi.ui.setting.track.TrackLogoutDialog
|
import eu.kanade.tachiyomi.ui.setting.track.TrackLogoutDialog
|
||||||
import eu.kanade.tachiyomi.util.preference.add
|
import eu.kanade.tachiyomi.util.preference.add
|
||||||
import eu.kanade.tachiyomi.util.preference.defaultValue
|
import eu.kanade.tachiyomi.util.preference.defaultValue
|
||||||
import eu.kanade.tachiyomi.util.preference.iconRes
|
|
||||||
import eu.kanade.tachiyomi.util.preference.infoPreference
|
import eu.kanade.tachiyomi.util.preference.infoPreference
|
||||||
import eu.kanade.tachiyomi.util.preference.onClick
|
import eu.kanade.tachiyomi.util.preference.onClick
|
||||||
import eu.kanade.tachiyomi.util.preference.preferenceCategory
|
import eu.kanade.tachiyomi.util.preference.preferenceCategory
|
||||||
@ -101,7 +100,6 @@ class SettingsTrackingController :
|
|||||||
LoginPreference(context).apply {
|
LoginPreference(context).apply {
|
||||||
key = Keys.trackUsername(service.id)
|
key = Keys.trackUsername(service.id)
|
||||||
titleRes = service.nameRes()
|
titleRes = service.nameRes()
|
||||||
iconRes = service.getLogo()
|
|
||||||
onClick {
|
onClick {
|
||||||
if (service.isLogged) {
|
if (service.isLogged) {
|
||||||
if (service is NoLoginTrackService) {
|
if (service is NoLoginTrackService) {
|
||||||
|
Loading…
Reference in New Issue
Block a user