|
@@ -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)
|