mirror of
https://github.com/FossifyOrg/Keyboard.git
synced 2026-09-22 10:05:24 -04:00
chore: remove redundant nougat check at Context.safeStorageContext extension (#418)
This commit is contained in:
1 file changed
+1
-1
@@ -39,7 +39,7 @@ import org.fossify.keyboard.interfaces.ClipsDao
|
||||
val Context.config: Config get() = Config.newInstance(applicationContext.safeStorageContext)
|
||||
|
||||
val Context.safeStorageContext: Context
|
||||
get() = if (isNougatPlus() && isDeviceInDirectBootMode) {
|
||||
get() = if (isDeviceInDirectBootMode) {
|
||||
createDeviceProtectedStorageContext()
|
||||
} else {
|
||||
this
|
||||
|
||||
Reference in new issue
Block a user