Added Crash reports option to advanced

This commit is contained in:
Jay 2020-05-05 02:10:59 -04:00
parent 1ef2c6e67c
commit 7a463dfc3d

View File

@ -47,6 +47,12 @@ class SettingsAdvancedController : SettingsController() {
override fun setupPreferenceScreen(screen: PreferenceScreen) = with(screen) {
titleRes = R.string.advanced
switchPreference {
key = "acra.enable"
titleRes = R.string.send_crash_report
summaryRes = R.string.helps_fix_bugs
defaultValue = true
}
preference {
key = CLEAR_CACHE_KEY
titleRes = R.string.clear_chapter_cache