aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/settings/Experimental.kt
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-08-13 23:57:52 -0700
committerGitHub <noreply@github.com>2019-08-13 23:57:52 -0700
commite47d5d47c0997b9a696f4f8881f4a057e2a5f934 (patch)
treeac985d192580735c34e31fa0583e60ecaf54a147 /app/src/main/kotlin/com/pitchedapps/frost/settings/Experimental.kt
parentb47900cbf82cdb216f7e3bd7961d29b7f6e1e507 (diff)
parentda3f1bb99df7f75e6adc62aa8aae15716033789b (diff)
downloadfrost-e47d5d47c0997b9a696f4f8881f4a057e2a5f934.tar.gz
frost-e47d5d47c0997b9a696f4f8881f4a057e2a5f934.tar.bz2
frost-e47d5d47c0997b9a696f4f8881f4a057e2a5f934.zip
Merge pull request #1514 from AllanWang/theopensourceguy-native-toggle
Tag obfuscation
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.kt7
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, {