diff options
author | Allan Wang <me@allanwang.ca> | 2020-10-03 21:22:24 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2020-10-03 21:22:24 -0700 |
commit | ad9fdf9f6718918e9daf5c0afb378f0bc4e47283 (patch) | |
tree | 36e67d32f5b61656257cf476e815292508ff2596 /app/src/main/kotlin/com/pitchedapps | |
parent | c86207a3baba6a1c2b4ebab611f0ae552d2607cd (diff) | |
download | frost-ad9fdf9f6718918e9daf5c0afb378f0bc4e47283.tar.gz frost-ad9fdf9f6718918e9daf5c0afb378f0bc4e47283.tar.bz2 frost-ad9fdf9f6718918e9daf5c0afb378f0bc4e47283.zip |
Force refresh on settings change and use shared class tag
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/settings/Behaviour.kt | 2 |
1 files changed, 1 insertions, 1 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 e38314ea..45a3e5c0 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/settings/Behaviour.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/settings/Behaviour.kt @@ -68,7 +68,7 @@ fun SettingsActivity.getBehaviourPrefs(): KPrefAdapterBuilder.() -> Unit = { checkbox( R.string.auto_expand_text_box, prefs::autoExpandTextBox, - { prefs.autoExpandTextBox = it }) { + { prefs.autoExpandTextBox = it; shouldRefreshMain() }) { descRes = R.string.auto_expand_text_box_desc } |