mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-19 01:59:19 +01:00
Move crash reports setting to advanced
This commit is contained in:
parent
b323b9c843
commit
978ac50015
@ -45,12 +45,6 @@ class SettingsAboutController : SettingsController() {
|
|||||||
override fun setupPreferenceScreen(screen: PreferenceScreen) = with(screen) {
|
override fun setupPreferenceScreen(screen: PreferenceScreen) = with(screen) {
|
||||||
titleRes = R.string.pref_category_about
|
titleRes = R.string.pref_category_about
|
||||||
|
|
||||||
switchPreference {
|
|
||||||
key = "acra.enable"
|
|
||||||
titleRes = R.string.pref_enable_acra
|
|
||||||
summaryRes = R.string.pref_acra_summary
|
|
||||||
defaultValue = true
|
|
||||||
}
|
|
||||||
switchPreference {
|
switchPreference {
|
||||||
key = Keys.automaticUpdates
|
key = Keys.automaticUpdates
|
||||||
titleRes = R.string.pref_enable_automatic_updates
|
titleRes = R.string.pref_enable_automatic_updates
|
||||||
|
@ -15,10 +15,7 @@ import eu.kanade.tachiyomi.data.library.LibraryUpdateService.Target
|
|||||||
import eu.kanade.tachiyomi.network.NetworkHelper
|
import eu.kanade.tachiyomi.network.NetworkHelper
|
||||||
import eu.kanade.tachiyomi.ui.base.controller.DialogController
|
import eu.kanade.tachiyomi.ui.base.controller.DialogController
|
||||||
import eu.kanade.tachiyomi.ui.library.LibraryController
|
import eu.kanade.tachiyomi.ui.library.LibraryController
|
||||||
import eu.kanade.tachiyomi.util.preference.onClick
|
import eu.kanade.tachiyomi.util.preference.*
|
||||||
import eu.kanade.tachiyomi.util.preference.preference
|
|
||||||
import eu.kanade.tachiyomi.util.preference.summaryRes
|
|
||||||
import eu.kanade.tachiyomi.util.preference.titleRes
|
|
||||||
import eu.kanade.tachiyomi.util.system.toast
|
import eu.kanade.tachiyomi.util.system.toast
|
||||||
import rx.Observable
|
import rx.Observable
|
||||||
import rx.android.schedulers.AndroidSchedulers
|
import rx.android.schedulers.AndroidSchedulers
|
||||||
@ -36,6 +33,12 @@ class SettingsAdvancedController : SettingsController() {
|
|||||||
override fun setupPreferenceScreen(screen: PreferenceScreen) = with(screen) {
|
override fun setupPreferenceScreen(screen: PreferenceScreen) = with(screen) {
|
||||||
titleRes = R.string.pref_category_advanced
|
titleRes = R.string.pref_category_advanced
|
||||||
|
|
||||||
|
switchPreference {
|
||||||
|
key = "acra.enable"
|
||||||
|
titleRes = R.string.pref_enable_acra
|
||||||
|
summaryRes = R.string.pref_acra_summary
|
||||||
|
defaultValue = true
|
||||||
|
}
|
||||||
preference {
|
preference {
|
||||||
key = CLEAR_CACHE_KEY
|
key = CLEAR_CACHE_KEY
|
||||||
titleRes = R.string.pref_clear_chapter_cache
|
titleRes = R.string.pref_clear_chapter_cache
|
||||||
|
Loading…
Reference in New Issue
Block a user