aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/settings/Experimental.kt
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-09-07 21:56:46 -0700
committerAllan Wang <me@allanwang.ca>2019-09-07 21:56:46 -0700
commit4c7521d2f773424d76bfe8b4f5beb6cb8b1af815 (patch)
tree51202714ef65704ea44a5e186d6e93be0fe173b1 /app/src/main/kotlin/com/pitchedapps/frost/settings/Experimental.kt
parent7fb7dcb5a190d65e66bf9c2dd72b94dfcb60cd1a (diff)
downloadfrost-4c7521d2f773424d76bfe8b4f5beb6cb8b1af815.tar.gz
frost-4c7521d2f773424d76bfe8b4f5beb6cb8b1af815.tar.bz2
frost-4c7521d2f773424d76bfe8b4f5beb6cb8b1af815.zip
Replace web only with native ui and auth requests
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, 2 insertions, 5 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 d0963665..2f45547d 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/settings/Experimental.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/settings/Experimental.kt
@@ -43,11 +43,8 @@ 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
+ checkbox(R.string.web_requests, Prefs::authRequests, { Prefs.authRequests = it }) {
+ descRes = R.string.web_requests_desc
}
// Experimental content ends here --------------------