diff options
author | Allan Wang <me@allanwang.ca> | 2020-07-18 20:25:35 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2020-07-18 20:25:35 -0700 |
commit | daf8f74ecf4953ffa99b75c2ac35a4b8711f8b10 (patch) | |
tree | 1b3802f6536f1c114e95b2ef267686cec0841310 /app/src/main/kotlin/com/pitchedapps/frost/prefs/sections/BehaviourPrefs.kt | |
parent | 5eb18e7464ceb5b7029912498ab02cf9b2556903 (diff) | |
download | frost-daf8f74ecf4953ffa99b75c2ac35a4b8711f8b10.tar.gz frost-daf8f74ecf4953ffa99b75c2ac35a4b8711f8b10.tar.bz2 frost-daf8f74ecf4953ffa99b75c2ac35a4b8711f8b10.zip |
Migrate showcase prefs to pref section
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/prefs/sections/BehaviourPrefs.kt')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/prefs/sections/BehaviourPrefs.kt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/prefs/sections/BehaviourPrefs.kt b/app/src/main/kotlin/com/pitchedapps/frost/prefs/sections/BehaviourPrefs.kt index ea55f7e3..ace444fe 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/prefs/sections/BehaviourPrefs.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/prefs/sections/BehaviourPrefs.kt @@ -20,10 +20,11 @@ import ca.allanwang.kau.kpref.KPref import ca.allanwang.kau.kpref.KPrefFactory import com.pitchedapps.frost.BuildConfig import com.pitchedapps.frost.prefs.OldPrefs +import com.pitchedapps.frost.prefs.PrefsBase import org.koin.core.KoinComponent import org.koin.core.inject -interface BehaviourPrefs { +interface BehaviourPrefs : PrefsBase { var biometricsEnabled: Boolean var overlayEnabled: Boolean @@ -105,4 +106,5 @@ class BehaviourPrefsImpl( "full_size_image", oldPrefs.fullSizeImage /* false */ ) + } |