|
@@ -23,6 +23,7 @@ import eu.kanade.tachiyomi.util.preference.preferenceCategory
|
|
import eu.kanade.tachiyomi.util.preference.summaryRes
|
|
import eu.kanade.tachiyomi.util.preference.summaryRes
|
|
import eu.kanade.tachiyomi.util.preference.switchPreference
|
|
import eu.kanade.tachiyomi.util.preference.switchPreference
|
|
import eu.kanade.tachiyomi.util.preference.titleRes
|
|
import eu.kanade.tachiyomi.util.preference.titleRes
|
|
|
|
+import eu.kanade.tachiyomi.util.preference.defaultValue
|
|
import eu.kanade.tachiyomi.util.system.getResourceColor
|
|
import eu.kanade.tachiyomi.util.system.getResourceColor
|
|
import eu.kanade.tachiyomi.util.system.openInBrowser
|
|
import eu.kanade.tachiyomi.util.system.openInBrowser
|
|
import rx.android.schedulers.AndroidSchedulers
|
|
import rx.android.schedulers.AndroidSchedulers
|
|
@@ -53,6 +54,15 @@ class MoreController :
|
|
iconTint = tintColor
|
|
iconTint = tintColor
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ switchPreference {
|
|
|
|
+ key = Keys.incognitoMode
|
|
|
|
+ summaryRes = R.string.pref_incognito_mode_summary
|
|
|
|
+ titleRes = R.string.pref_incognito_mode
|
|
|
|
+ iconRes = R.drawable.ic_glasses_black_24dp
|
|
|
|
+ iconTint = tintColor
|
|
|
|
+ defaultValue = false
|
|
|
|
+ }
|
|
|
|
+
|
|
preferenceCategory {
|
|
preferenceCategory {
|
|
preference {
|
|
preference {
|
|
titleRes = R.string.label_download_queue
|
|
titleRes = R.string.label_download_queue
|