From 7be2cbb75b0166ccbd62ebf565e9e6c6ed564edc Mon Sep 17 00:00:00 2001 From: arkon Date: Mon, 31 May 2021 18:46:45 -0400 Subject: [PATCH] Revert "Temporarily hide Komga tracker" This reverts commit 31997fe50af7fb8a5308682a246ceece710deb0d. --- .../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)