From 509aca4c2c40f9418ae8866be5ba9f3fb4428d90 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sun, 15 Sep 2019 00:33:22 -0700 Subject: Remove auth and native ui elements by default --- app/src/main/res/values/strings_pref_behaviour.xml | 2 -- app/src/main/res/xml/frost_changelog.xml | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'app/src/main/res') diff --git a/app/src/main/res/values/strings_pref_behaviour.xml b/app/src/main/res/values/strings_pref_behaviour.xml index aac56250..32188698 100644 --- a/app/src/main/res/values/strings_pref_behaviour.xml +++ b/app/src/main/res/values/strings_pref_behaviour.xml @@ -17,8 +17,6 @@ Enable the search bar instead of a search overlay Force Message Bottom When loading a message thread, trigger a scroll to the bottom of the page rather than loading the page as is. - Native UI - Enables native UI for certain options in the main activity. Done through parsing. Enable PIP Enable picture in picture videos Autoplay Settings diff --git a/app/src/main/res/xml/frost_changelog.xml b/app/src/main/res/xml/frost_changelog.xml index 2fb9984a..3e267f69 100644 --- a/app/src/main/res/xml/frost_changelog.xml +++ b/app/src/main/res/xml/frost_changelog.xml @@ -7,7 +7,7 @@ --> - + -- cgit v1.2.3 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/src/main/res') 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