From d681bea39510ece7ccc7aab1780f2ac6ccabdedc Mon Sep 17 00:00:00 2001 From: arkon Date: Mon, 31 May 2021 19:36:42 -0400 Subject: [PATCH] Revert "Revert "Revert "Temporarily hide Komga tracker""" This reverts commit 79ab492a5b89311d29e56271256d52fa87a0cc19. lol --- .../ui/setting/SettingsTrackingController.kt | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsTrackingController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsTrackingController.kt index ba5bfe23a..20263fe71 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsTrackingController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsTrackingController.kt @@ -39,11 +39,11 @@ class SettingsTrackingController : titleRes = R.string.pref_auto_update_manga_sync defaultValue = true } - // switchPreference { - // key = Keys.autoAddTrack - // titleRes = R.string.pref_auto_add_track - // defaultValue = true - // } + switchPreference { + key = Keys.autoAddTrack + titleRes = R.string.pref_auto_add_track + defaultValue = true + } preferenceCategory { titleRes = R.string.services @@ -64,10 +64,10 @@ class SettingsTrackingController : trackPreference(trackManager.bangumi) { activity?.openInBrowser(BangumiApi.authUrl(), trackManager.bangumi.getLogoColor()) } - // trackPreference(trackManager.komga) { - // trackManager.komga.loginNoop() - // updatePreference(trackManager.komga.id) - // } + trackPreference(trackManager.komga) { + trackManager.komga.loginNoop() + updatePreference(trackManager.komga.id) + } } preferenceCategory { infoPreference(R.string.tracking_info)