Skip to content
This repository was archived by the owner on Jun 8, 2024. It is now read-only.

Commit 1dbfe00

Browse files
committed
Blur: Default disabled in pre-O devices
Signed-off-by: Fung Gwo <fython@163.com>
1 parent ac1bb8b commit 1dbfe00

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

  • mobile/src/main/kotlin/info/papdt/express/helper/support

mobile/src/main/kotlin/info/papdt/express/helper/support/PTSettings.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ class PTSettings(context: Context): SharedPreferencesProvider(context, "settings
2929

3030
var usingNewDatabase by booleanValue(defValue = false)
3131

32-
var enableAddDialogBackgroundBlur by booleanValue(defValue = true)
32+
var enableAddDialogBackgroundBlur by booleanValue(
33+
// Default disabled in pre-O devices
34+
defValue = Build.VERSION.SDK_INT >= Build.VERSION_CODES.O
35+
)
3336

3437
var lastFilter by intValue(defValue = HomePackageListAdapter.FILTER_ON_THE_WAY)
3538

0 commit comments

Comments
 (0)