diff options
author | Allan Wang <me@allanwang.ca> | 2019-08-13 23:57:10 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2019-08-13 23:57:10 -0700 |
commit | da3f1bb99df7f75e6adc62aa8aae15716033789b (patch) | |
tree | ac985d192580735c34e31fa0583e60ecaf54a147 /app/src/main/kotlin/com/pitchedapps/frost/settings/Experimental.kt | |
parent | 06408157dfde2f40c6368c5ab03e46479428f566 (diff) | |
download | frost-da3f1bb99df7f75e6adc62aa8aae15716033789b.tar.gz frost-da3f1bb99df7f75e6adc62aa8aae15716033789b.tar.bz2 frost-da3f1bb99df7f75e6adc62aa8aae15716033789b.zip |
Move web only to experimental
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/settings/Experimental.kt')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/settings/Experimental.kt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/settings/Experimental.kt b/app/src/main/kotlin/com/pitchedapps/frost/settings/Experimental.kt index 7aac7526..d0963665 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/settings/Experimental.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/settings/Experimental.kt @@ -43,6 +43,13 @@ fun SettingsActivity.getExperimentalPrefs(): KPrefAdapterBuilder.() -> Unit = { // Experimental content starts here ------------------ + checkbox(R.string.web_only, Prefs::webOnly, { + Prefs.webOnly = it + shouldRestartMain() + }) { + descRes = R.string.web_only_desc + } + // Experimental content ends here -------------------- checkbox(R.string.verbose_logging, Prefs::verboseLogging, { |