Revert "Revert "Temporarily hide Komga tracker""

This reverts commit 7be2cbb75b.
This commit is contained in:
arkon 2021-05-31 19:35:10 -04:00
parent 62db4bb09d
commit 79ab492a5b

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)