aboutsummaryrefslogtreecommitdiff
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
parentf0cf3ff3e648e2f80e640fbe255310b5c537a3a9 (diff)
downloadfrost-c9b34f5fdad8a890f05ae4189a5e819340ce1ee5.tar.gz
frost-c9b34f5fdad8a890f05ae4189a5e819340ce1ee5.tar.bz2
frost-c9b34f5fdad8a890f05ae4189a5e819340ce1ee5.zip
Remove auth request setting
-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
-rw-r--r--app/src/main/res/values/strings_pref_experimental.xml3
3 files changed, 0 insertions, 9 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)
diff --git a/app/src/main/res/values/strings_pref_experimental.xml b/app/src/main/res/values/strings_pref_experimental.xml
index 2d2ca131..fea94d49 100644
--- a/app/src/main/res/values/strings_pref_experimental.xml
+++ b/app/src/main/res/values/strings_pref_experimental.xml
@@ -7,7 +7,4 @@
<string name="restart_frost">Restart Frost</string>
<string name="restart_frost_desc">Launch a cold restart for the application.</string>
- <!-- Debugging phishing warnings -->
- <string name="auth_requests" translatable="false">Auth Requests</string>
- <string name="auth_requests_desc" translatable="false">Enables post features such as marking notifications as read. Known to potentially cause phishing responses.</string>
</resources> \ No newline at end of file