diff options
author | Allan Wang <me@allanwang.ca> | 2019-09-07 21:56:46 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2019-09-07 21:56:46 -0700 |
commit | 4c7521d2f773424d76bfe8b4f5beb6cb8b1af815 (patch) | |
tree | 51202714ef65704ea44a5e186d6e93be0fe173b1 /app/src/main/kotlin/com/pitchedapps/frost/settings/Experimental.kt | |
parent | 7fb7dcb5a190d65e66bf9c2dd72b94dfcb60cd1a (diff) | |
download | frost-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.kt | 7 |
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 -------------------- |