Temporarily hide Komga tracker

This commit is contained in:
arkon 2021-05-31 18:46:09 -04:00
parent 5e5ceef122
commit 31997fe50a

View file

@ -39,11 +39,11 @@ class SettingsTrackingController :
titleRes = R.string.pref_auto_update_manga_sync titleRes = R.string.pref_auto_update_manga_sync
defaultValue = true defaultValue = true
} }
switchPreference { // switchPreference {
key = Keys.autoAddTrack // key = Keys.autoAddTrack
titleRes = R.string.pref_auto_add_track // titleRes = R.string.pref_auto_add_track
defaultValue = true // defaultValue = true
} // }
preferenceCategory { preferenceCategory {
titleRes = R.string.services titleRes = R.string.services
@ -64,10 +64,10 @@ class SettingsTrackingController :
trackPreference(trackManager.bangumi) { trackPreference(trackManager.bangumi) {
activity?.openInBrowser(BangumiApi.authUrl(), trackManager.bangumi.getLogoColor()) activity?.openInBrowser(BangumiApi.authUrl(), trackManager.bangumi.getLogoColor())
} }
trackPreference(trackManager.komga) { // trackPreference(trackManager.komga) {
trackManager.komga.loginNoop() // trackManager.komga.loginNoop()
updatePreference(trackManager.komga.id) // updatePreference(trackManager.komga.id)
} // }
} }
preferenceCategory { preferenceCategory {
infoPreference(R.string.tracking_info) infoPreference(R.string.tracking_info)