aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-09-07 23:59:43 -0700
committerAllan Wang <me@allanwang.ca>2019-09-07 23:59:43 -0700
commitad0fcdcb581ee036ace2c55524069b2beef3603a (patch)
tree7fdc3c72fa496069013115cea37ec2fe680c020c /app/src/main/kotlin/com
parent3b457c0e5728d8643ba6b2d06329f6a7dead156f (diff)
downloadfrost-ad0fcdcb581ee036ace2c55524069b2beef3603a.tar.gz
frost-ad0fcdcb581ee036ace2c55524069b2beef3603a.tar.bz2
frost-ad0fcdcb581ee036ace2c55524069b2beef3603a.zip
Delete experimental by default options
Diffstat (limited to 'app/src/main/kotlin/com')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/settings/Experimental.kt7
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/utils/Showcase.kt5
2 files changed, 1 insertions, 11 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 d7c405dc..a73dc1a4 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/settings/Experimental.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/settings/Experimental.kt
@@ -34,13 +34,6 @@ fun SettingsActivity.getExperimentalPrefs(): KPrefAdapterBuilder.() -> Unit = {
descRes = R.string.experimental_disclaimer_info
}
- checkbox(
- R.string.experimental_by_default,
- Showcase::experimentalDefault,
- { Showcase.experimentalDefault = it }) {
- descRes = R.string.experimental_by_default_desc
- }
-
// Experimental content starts here ------------------
checkbox(R.string.auth_requests, Prefs::authRequests, { Prefs.authRequests = it }) {
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/utils/Showcase.kt b/app/src/main/kotlin/com/pitchedapps/frost/utils/Showcase.kt
index df48bfbc..f69af40b 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/utils/Showcase.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/utils/Showcase.kt
@@ -30,8 +30,5 @@ object Showcase : KPref() {
val intro: Boolean by kprefSingle("intro_pages")
- //not a showcase but cannot be in the same file as Prefs
- var experimentalDefault: Boolean by kpref("experimental_by_default", false)
-
- override fun deleteKeys() = arrayOf("shown_release")
+ override fun deleteKeys() = arrayOf("shown_release", "experimental_by_default")
}