aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps')
-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")
}