Эх сурвалжийг харах

Revert "Temporarily hide Komga tracker"

This reverts commit 31997fe50af7fb8a5308682a246ceece710deb0d.
arkon 3 жил өмнө
parent
commit
7be2cbb75b

+ 9 - 9
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)