aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-09-15 01:13:18 -0700
committerAllan Wang <me@allanwang.ca>2019-09-15 01:13:18 -0700
commitc9b34f5fdad8a890f05ae4189a5e819340ce1ee5 (patch)
tree4c3ff473e164f793121673524788e830ccc49edb /app/src/main/kotlin
parentf0cf3ff3e648e2f80e640fbe255310b5c537a3a9 (diff)
downloadfrost-c9b34f5fdad8a890f05ae4189a5e819340ce1ee5.tar.gz
frost-c9b34f5fdad8a890f05ae4189a5e819340ce1ee5.tar.bz2
frost-c9b34f5fdad8a890f05ae4189a5e819340ce1ee5.zip
Remove auth request setting
Diffstat (limited to 'app/src/main/kotlin')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/settings/Experimental.kt4
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt2
2 files changed, 0 insertions, 6 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 5647584e..9814fd76 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/settings/Experimental.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/settings/Experimental.kt
@@ -35,10 +35,6 @@ fun SettingsActivity.getExperimentalPrefs(): KPrefAdapterBuilder.() -> Unit = {
// Experimental content starts here ------------------
- checkbox(R.string.auth_requests, Prefs::authRequests, { Prefs.authRequests = it }) {
- descRes = R.string.auth_requests_desc
- }
-
// Experimental content ends here --------------------
checkbox(R.string.verbose_logging, Prefs::verboseLogging, {
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt b/app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt
index 3af538dd..eb8e4b35 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt
@@ -191,8 +191,6 @@ object Prefs : KPref() {
var showCreateFab: Boolean by kpref("show_create_fab", true)
- var authRequests: Boolean by kpref("web_requests", false)
-
inline val mainActivityLayout: MainActivityLayout
get() = MainActivityLayout(mainActivityLayoutType)