diff --git a/KAIBatteryCell.mm b/KAIBatteryCell.mm
index 189a972..b9dfc99 100755
--- a/KAIBatteryCell.mm
+++ b/KAIBatteryCell.mm
@@ -15,15 +15,13 @@
UIView *blur;
UIView *blurPlatter = [[UIView alloc] init];
if (bannerStyle == 1) {
- if (kCFCoreFoundationVersionNumber > 1600) {
- @try {
+ if (kCFCoreFoundationVersionNumber > 1600 && kCFCoreFoundationVersionNumber < 1740) {
blur = [[[objc_getClass("MTMaterialView") class] alloc] _initWithRecipe:1 configuration:1 initialWeighting:1 scaleAdjustment:nil];
- } @catch (NSException *exc) {
- blur = [[UIVisualEffectView alloc] initWithEffect:[UIBlurEffect effectWithStyle:UIBlurEffectStyleRegular]];
- }
- } else if (kCFCoreFoundationVersionNumber < 1600) {
+ } else if (kCFCoreFoundationVersionNumber < 1600) { //ios 12
blur = [[UIVisualEffectView alloc] initWithEffect:[UIBlurEffect effectWithStyle:UIBlurEffectStyleLight]];
- }
+ } else if(kCFCoreFoundationVersionNumber >= 1740) { //ios 14 :fr:
+ blur = [[UIVisualEffectView alloc] initWithEffect:[UIBlurEffect effectWithStyle:UIBlurEffectStyleRegular]];
+ }
} else if (bannerStyle == 2) {
blur = [[UIVisualEffectView alloc] initWithEffect:[UIBlurEffect effectWithStyle:UIBlurEffectStyleDark]];
} else if (bannerStyle == 3) {
diff --git a/Kai.h b/Kai.h
index 4cb06df..8196849 100755
--- a/Kai.h
+++ b/Kai.h
@@ -113,7 +113,7 @@ static void preferencesChanged() {
disableGlyphs = boolValueForKey(@"disableGlyphs", NO);
hidePercent = boolValueForKey(@"hidePercent", NO);
bannerStyle = numberForValue(@"bannerStyle", 1);
- showAll = boolValueForKey(@"showAll", NO);
+ showAll = boolValueForKey(@"showAll", YES);
bannerWidthFactor = numberForValue(@"bannerWidthFactor", 0);
hideDeviceLabel = boolValueForKey(@"hideDeviceLabel", NO);
bannerAlign = numberForValue(@"bannerAlign", 2);
diff --git a/kaiprefs/Resources/Root.plist b/kaiprefs/Resources/Root.plist
index b72c255..9f5f667 100644
--- a/kaiprefs/Resources/Root.plist
+++ b/kaiprefs/Resources/Root.plist
@@ -104,7 +104,7 @@
cell
PSSwitchCell
default
-
+
defaults
com.burritoz.kaiprefs
key