mirror of
https://github.com/null2264/yokai.git
synced 2025-06-20 18:24:42 +00:00
refactor: Split security preferences from PreferencesHelper
This commit is contained in:
parent
48d542f5a6
commit
b43fccacd7
7 changed files with 26 additions and 15 deletions
|
@ -0,0 +1,7 @@
|
|||
package eu.kanade.tachiyomi.core.security
|
||||
|
||||
import eu.kanade.tachiyomi.core.preference.PreferenceStore
|
||||
|
||||
class SecurityPreferences(private val preferenceStore: PreferenceStore) {
|
||||
fun useBiometrics() = preferenceStore.getBoolean("use_biometrics", false)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue