File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
app/src/main/kotlin/com/simplemobiletools/keyboard/extensions Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ import com.simplemobiletools.keyboard.databases.ClipsDatabase
1919import com.simplemobiletools.keyboard.helpers.*
2020import com.simplemobiletools.keyboard.interfaces.ClipsDao
2121
22-
2322val Context .config: Config get() = Config .newInstance(applicationContext.safeStorageContext)
2423
2524val Context .safeStorageContext: Context
@@ -32,7 +31,7 @@ val Context.safeStorageContext: Context
3231val Context .isDeviceInDirectBootMode: Boolean
3332 get() {
3433 val userManager = getSystemService(Context .USER_SERVICE ) as UserManager
35- return isNougatPlus() && userManager.isUserUnlocked
34+ return isNougatPlus() && ! userManager.isUserUnlocked
3635 }
3736
3837val Context .clipsDB: ClipsDao
You can’t perform that action at this time.
0 commit comments