From c9b34f5fdad8a890f05ae4189a5e819340ce1ee5 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sun, 15 Sep 2019 01:13:18 -0700 Subject: Remove auth request setting --- app/src/main/kotlin/com/pitchedapps/frost/settings/Experimental.kt | 4 ---- app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt | 2 -- app/src/main/res/values/strings_pref_experimental.xml | 3 --- 3 files changed, 9 deletions(-) (limited to 'app') 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 @@ Restart Frost Launch a cold restart for the application. - - Auth Requests - Enables post features such as marking notifications as read. Known to potentially cause phishing responses. \ No newline at end of file -- cgit v1.2.3