diff options
author | Allan Wang <me@allanwang.ca> | 2019-09-07 21:56:46 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2019-09-07 21:56:46 -0700 |
commit | 4c7521d2f773424d76bfe8b4f5beb6cb8b1af815 (patch) | |
tree | 51202714ef65704ea44a5e186d6e93be0fe173b1 /app/src/main/kotlin/com/pitchedapps/frost/settings/Behaviour.kt | |
parent | 7fb7dcb5a190d65e66bf9c2dd72b94dfcb60cd1a (diff) | |
download | frost-4c7521d2f773424d76bfe8b4f5beb6cb8b1af815.tar.gz frost-4c7521d2f773424d76bfe8b4f5beb6cb8b1af815.tar.bz2 frost-4c7521d2f773424d76bfe8b4f5beb6cb8b1af815.zip |
Replace web only with native ui and auth requests
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/settings/Behaviour.kt')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/settings/Behaviour.kt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/settings/Behaviour.kt b/app/src/main/kotlin/com/pitchedapps/frost/settings/Behaviour.kt index ba5b839b..a0a8117f 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/settings/Behaviour.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/settings/Behaviour.kt @@ -79,6 +79,13 @@ fun SettingsActivity.getBehaviourPrefs(): KPrefAdapterBuilder.() -> Unit = { } } + checkbox(R.string.native_ui, Prefs::nativeUi, { + Prefs.nativeUi = it + shouldRestartMain() + }) { + descRes = R.string.native_ui_desc + } + checkbox(R.string.exit_confirmation, Prefs::exitConfirmation, { Prefs.exitConfirmation = it }) { descRes = R.string.exit_confirmation_desc } |