diff options
author | Allan Wang <me@allanwang.ca> | 2019-08-04 23:58:07 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2019-08-04 23:58:07 -0700 |
commit | 1e582a31a92ac299db06f32e34be9f0ae6a5120b (patch) | |
tree | f44cc3e7a2b67daae5589acad05a573baea52255 /app/src/main/kotlin/com/pitchedapps/frost/settings/Behaviour.kt | |
parent | 392f394aec75f3c655b4f39d7640a8f6164cb109 (diff) | |
download | frost-1e582a31a92ac299db06f32e34be9f0ae6a5120b.tar.gz frost-1e582a31a92ac299db06f32e34be9f0ae6a5120b.tar.bz2 frost-1e582a31a92ac299db06f32e34be9f0ae6a5120b.zip |
Add fab auto refresh
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 | 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 c774892e..31a31238 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/settings/Behaviour.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/settings/Behaviour.kt @@ -40,7 +40,7 @@ fun SettingsActivity.getBehaviourPrefs(): KPrefAdapterBuilder.() -> Unit = { checkbox( R.string.overlay_swipe, Prefs::overlayEnabled, - { Prefs.overlayEnabled = it; setFrostResult(REQUEST_REFRESH) }) { + { Prefs.overlayEnabled = it; shouldRefreshMain() }) { descRes = R.string.overlay_swipe_desc } |