diff --git a/.theos/_/DEBIAN/control b/.theos/_/DEBIAN/control
index 23fb064..b78a4d3 100644
--- a/.theos/_/DEBIAN/control
+++ b/.theos/_/DEBIAN/control
@@ -9,4 +9,4 @@ Name: ZenithDark
Sileodepiction: https://raw.githubusercontent.com/mac-user669/repo/master/sileodepictions/ZenithDark.json
Depiction: https://mac-user669.github.io/repo/depictions/?p=com.mac-user669.zenithdark/
Version: 1.0
-Installed-Size: 312
+Installed-Size: 344
diff --git a/.theos/_/Library/MobileSubstrate/DynamicLibraries/ZenithDark.dylib b/.theos/_/Library/MobileSubstrate/DynamicLibraries/ZenithDark.dylib
index aa09c55..2495a2b 100755
Binary files a/.theos/_/Library/MobileSubstrate/DynamicLibraries/ZenithDark.dylib and b/.theos/_/Library/MobileSubstrate/DynamicLibraries/ZenithDark.dylib differ
diff --git a/.theos/_/Library/PreferenceBundles/ZenithDarkPrefs.bundle/Root.plist b/.theos/_/Library/PreferenceBundles/ZenithDarkPrefs.bundle/Root.plist
index 5efbdc3..7eafae2 100644
Binary files a/.theos/_/Library/PreferenceBundles/ZenithDarkPrefs.bundle/Root.plist and b/.theos/_/Library/PreferenceBundles/ZenithDarkPrefs.bundle/Root.plist differ
diff --git a/.theos/obj/ZenithDark.dylib b/.theos/obj/ZenithDark.dylib
index aa09c55..2495a2b 100755
Binary files a/.theos/obj/ZenithDark.dylib and b/.theos/obj/ZenithDark.dylib differ
diff --git a/.theos/obj/ZenithDarkPrefs.bundle/Root.plist b/.theos/obj/ZenithDarkPrefs.bundle/Root.plist
index 5522dc1..727bd0f 100644
--- a/.theos/obj/ZenithDarkPrefs.bundle/Root.plist
+++ b/.theos/obj/ZenithDarkPrefs.bundle/Root.plist
@@ -22,36 +22,7 @@
label
Enable
-
- cell
- PSGroupCell
- label
- Customization
-
-
- cell
- PSSwitchCell
- default
-
- defaults
- com.mac-user669.zenithdarkprefs
- key
- replaceoriginalview
- label
- Replace Original View
-
-
- cell
- PSSwitchCell
- default
-
- defaults
- com.mac-user669.zenithdarkprefs
- key
- notificationBadgesEnabled
- label
- Enable Notification Badges
-
+
cell
PSGroupCell
diff --git a/.theos/obj/arm64/Tweak.xm.27a6b95b.Td b/.theos/obj/arm64/Tweak.xm.27a6b95b.Td
new file mode 100644
index 0000000..7d06125
--- /dev/null
+++ b/.theos/obj/arm64/Tweak.xm.27a6b95b.Td
@@ -0,0 +1,20 @@
+/Users/cooperhull/Desktop/Tweaks/ZenithDark/.theos/obj/arm64/Tweak.xm.27a6b95b.o: \
+ /Users/cooperhull/Desktop/Tweaks/ZenithDark/.theos/obj/arm64/Tweak.xm.mm \
+ /Users/cooperhull/theos/Prefix.pch \
+ /Users/cooperhull/theos/include/_Prefix/BackwardsCompat.h \
+ /Users/cooperhull/theos/include/_Prefix/IOSMacros.h \
+ /Users/cooperhull/theos/include/HBLog.h \
+ /Users/cooperhull/Desktop/Tweaks/ZenithDark/ZenithDark.h \
+ /Users/cooperhull/theos/include/substrate.h
+
+/Users/cooperhull/theos/Prefix.pch:
+
+/Users/cooperhull/theos/include/_Prefix/BackwardsCompat.h:
+
+/Users/cooperhull/theos/include/_Prefix/IOSMacros.h:
+
+/Users/cooperhull/theos/include/HBLog.h:
+
+/Users/cooperhull/Desktop/Tweaks/ZenithDark/ZenithDark.h:
+
+/Users/cooperhull/theos/include/substrate.h:
diff --git a/.theos/obj/arm64/Tweak.xm.c4e2add9.Td b/.theos/obj/arm64/Tweak.xm.c4e2add9.Td
new file mode 100644
index 0000000..863f047
--- /dev/null
+++ b/.theos/obj/arm64/Tweak.xm.c4e2add9.Td
@@ -0,0 +1,20 @@
+/Users/cooperhull/Desktop/Tweaks/ZenithDark/.theos/obj/arm64/Tweak.xm.c4e2add9.o: \
+ /Users/cooperhull/Desktop/Tweaks/ZenithDark/.theos/obj/arm64/Tweak.xm.mm \
+ /Users/cooperhull/theos/Prefix.pch \
+ /Users/cooperhull/theos/include/_Prefix/BackwardsCompat.h \
+ /Users/cooperhull/theos/include/_Prefix/IOSMacros.h \
+ /Users/cooperhull/theos/include/HBLog.h \
+ /Users/cooperhull/Desktop/Tweaks/ZenithDark/ZenithDark.h \
+ /Users/cooperhull/theos/include/substrate.h
+
+/Users/cooperhull/theos/Prefix.pch:
+
+/Users/cooperhull/theos/include/_Prefix/BackwardsCompat.h:
+
+/Users/cooperhull/theos/include/_Prefix/IOSMacros.h:
+
+/Users/cooperhull/theos/include/HBLog.h:
+
+/Users/cooperhull/Desktop/Tweaks/ZenithDark/ZenithDark.h:
+
+/Users/cooperhull/theos/include/substrate.h:
diff --git a/.theos/obj/arm64/Tweak.xm.c4e2add9.o b/.theos/obj/arm64/Tweak.xm.c4e2add9.o
new file mode 100644
index 0000000..d80c567
Binary files /dev/null and b/.theos/obj/arm64/Tweak.xm.c4e2add9.o differ
diff --git a/.theos/obj/arm64/Tweak.xm.mm b/.theos/obj/arm64/Tweak.xm.mm
index cb9613b..2562b5f 100644
--- a/.theos/obj/arm64/Tweak.xm.mm
+++ b/.theos/obj/arm64/Tweak.xm.mm
@@ -13,8 +13,6 @@
#import "ZenithDark.h"
static BOOL enabled;
-static BOOL replaceOriginalView;
-static BOOL notificationBadgesEnabled;
static void loadPrefs() {
static NSMutableDictionary *settings;
@@ -27,13 +25,10 @@ static void loadPrefs() {
}
enabled = [([settings objectForKey:@"enabled"] ? [settings objectForKey:@"enabled"] : @(YES)) boolValue];
- replaceOriginalView = [([settings objectForKey:@"replaceoriginalview"] ? [settings objectForKey:@"replaceoriginalview"] : @(YES)) boolValue];
- notificationBadgesEnabled = [([settings objectForKey:@"notificationBadgesEnabled"] ? [settings objectForKey:@"notificationBadgesEnabled"] : NO) boolValue];
}
-
#include
#if defined(__clang__)
#if __has_feature(objc_arc)
@@ -57,10 +52,11 @@ static void loadPrefs() {
@class ZNGrabberAccessoryView;
static void (*_logos_orig$_ungrouped$ZNGrabberAccessoryView$traitCollectionDidChange$)(_LOGOS_SELF_TYPE_NORMAL ZNGrabberAccessoryView* _LOGOS_SELF_CONST, SEL, UITraitCollection *); static void _logos_method$_ungrouped$ZNGrabberAccessoryView$traitCollectionDidChange$(_LOGOS_SELF_TYPE_NORMAL ZNGrabberAccessoryView* _LOGOS_SELF_CONST, SEL, UITraitCollection *); static void (*_logos_orig$_ungrouped$ZNGrabberAccessoryView$setBackgroundColor$)(_LOGOS_SELF_TYPE_NORMAL ZNGrabberAccessoryView* _LOGOS_SELF_CONST, SEL, UIColor *); static void _logos_method$_ungrouped$ZNGrabberAccessoryView$setBackgroundColor$(_LOGOS_SELF_TYPE_NORMAL ZNGrabberAccessoryView* _LOGOS_SELF_CONST, SEL, UIColor *);
-#line 35 "Tweak.xm"
-
+#line 30 "Tweak.xm"
+
static void _logos_method$_ungrouped$ZNGrabberAccessoryView$traitCollectionDidChange$(_LOGOS_SELF_TYPE_NORMAL ZNGrabberAccessoryView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, UITraitCollection * previousTraitCollection) {
+ if (enabled) {
_logos_orig$_ungrouped$ZNGrabberAccessoryView$traitCollectionDidChange$(self, _cmd, previousTraitCollection);
if (@available(iOS 13, *)) {
if (self.traitCollection.userInterfaceStyle == UIUserInterfaceStyleDark) {
@@ -69,13 +65,16 @@ static void _logos_method$_ungrouped$ZNGrabberAccessoryView$traitCollectionDidCh
else {
[self setBackgroundColor:kLightModeColor];
+ }
}
}
+ _logos_orig$_ungrouped$ZNGrabberAccessoryView$traitCollectionDidChange$(self, _cmd, previousTraitCollection);
}
static void _logos_method$_ungrouped$ZNGrabberAccessoryView$setBackgroundColor$(_LOGOS_SELF_TYPE_NORMAL ZNGrabberAccessoryView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, UIColor * backgroundColor) {
+ if (enabled) {
if (@available(iOS 13, *)) {
if (self.traitCollection.userInterfaceStyle == UIUserInterfaceStyleDark) {
@@ -84,15 +83,19 @@ static void _logos_method$_ungrouped$ZNGrabberAccessoryView$setBackgroundColor$(
else {
_logos_orig$_ungrouped$ZNGrabberAccessoryView$setBackgroundColor$(self, _cmd, backgroundColor);
+ }
}
}
+ _logos_orig$_ungrouped$ZNGrabberAccessoryView$setBackgroundColor$(self, _cmd, backgroundColor);
}
-static __attribute__((constructor)) void _logosLocalCtor_bbe4a825(int __unused argc, char __unused **argv, char __unused **envp) {
+
+
+static __attribute__((constructor)) void _logosLocalCtor_7f270ec4(int __unused argc, char __unused **argv, char __unused **envp) {
loadPrefs();
@@ -102,4 +105,4 @@ dlopen ("/Library/MobileSubstrate/DynamicLibraries/Zenith.dylib", RTLD_NOW);
}
static __attribute__((constructor)) void _logosLocalInit() {
{Class _logos_class$_ungrouped$ZNGrabberAccessoryView = objc_getClass("ZNGrabberAccessoryView"); MSHookMessageEx(_logos_class$_ungrouped$ZNGrabberAccessoryView, @selector(traitCollectionDidChange:), (IMP)&_logos_method$_ungrouped$ZNGrabberAccessoryView$traitCollectionDidChange$, (IMP*)&_logos_orig$_ungrouped$ZNGrabberAccessoryView$traitCollectionDidChange$);MSHookMessageEx(_logos_class$_ungrouped$ZNGrabberAccessoryView, @selector(setBackgroundColor:), (IMP)&_logos_method$_ungrouped$ZNGrabberAccessoryView$setBackgroundColor$, (IMP*)&_logos_orig$_ungrouped$ZNGrabberAccessoryView$setBackgroundColor$);} }
-#line 77 "Tweak.xm"
+#line 80 "Tweak.xm"
diff --git a/.theos/obj/arm64/ZenithDark.dylib b/.theos/obj/arm64/ZenithDark.dylib
index 94b9b88..be03d3c 100755
Binary files a/.theos/obj/arm64/ZenithDark.dylib and b/.theos/obj/arm64/ZenithDark.dylib differ
diff --git a/.theos/obj/arm64/ZenithDark.dylib.dSYM/Contents/Resources/DWARF/ZenithDark.dylib b/.theos/obj/arm64/ZenithDark.dylib.dSYM/Contents/Resources/DWARF/ZenithDark.dylib
index 8f5efff..b227cd9 100644
Binary files a/.theos/obj/arm64/ZenithDark.dylib.dSYM/Contents/Resources/DWARF/ZenithDark.dylib and b/.theos/obj/arm64/ZenithDark.dylib.dSYM/Contents/Resources/DWARF/ZenithDark.dylib differ
diff --git a/.theos/obj/arm64e/Tweak.xm.6fecb14d.Td b/.theos/obj/arm64e/Tweak.xm.6fecb14d.Td
new file mode 100644
index 0000000..4a4f27f
--- /dev/null
+++ b/.theos/obj/arm64e/Tweak.xm.6fecb14d.Td
@@ -0,0 +1,20 @@
+/Users/cooperhull/Desktop/Tweaks/ZenithDark/.theos/obj/arm64e/Tweak.xm.6fecb14d.o: \
+ /Users/cooperhull/Desktop/Tweaks/ZenithDark/.theos/obj/arm64e/Tweak.xm.mm \
+ /Users/cooperhull/theos/Prefix.pch \
+ /Users/cooperhull/theos/include/_Prefix/BackwardsCompat.h \
+ /Users/cooperhull/theos/include/_Prefix/IOSMacros.h \
+ /Users/cooperhull/theos/include/HBLog.h \
+ /Users/cooperhull/Desktop/Tweaks/ZenithDark/ZenithDark.h \
+ /Users/cooperhull/theos/include/substrate.h
+
+/Users/cooperhull/theos/Prefix.pch:
+
+/Users/cooperhull/theos/include/_Prefix/BackwardsCompat.h:
+
+/Users/cooperhull/theos/include/_Prefix/IOSMacros.h:
+
+/Users/cooperhull/theos/include/HBLog.h:
+
+/Users/cooperhull/Desktop/Tweaks/ZenithDark/ZenithDark.h:
+
+/Users/cooperhull/theos/include/substrate.h:
diff --git a/.theos/obj/arm64e/Tweak.xm.6fecb14d.o b/.theos/obj/arm64e/Tweak.xm.6fecb14d.o
new file mode 100644
index 0000000..520acd2
Binary files /dev/null and b/.theos/obj/arm64e/Tweak.xm.6fecb14d.o differ
diff --git a/.theos/obj/arm64e/Tweak.xm.mm b/.theos/obj/arm64e/Tweak.xm.mm
new file mode 100644
index 0000000..2562b5f
--- /dev/null
+++ b/.theos/obj/arm64e/Tweak.xm.mm
@@ -0,0 +1,108 @@
+#line 1 "Tweak.xm"
+
+
+
+
+
+
+
+
+
+
+
+#import "ZenithDark.h"
+
+static BOOL enabled;
+static void loadPrefs() {
+ static NSMutableDictionary *settings;
+
+ CFArrayRef keyList = CFPreferencesCopyKeyList(CFSTR("com.mac-user669.zenithdarkprefs"), kCFPreferencesCurrentUser, kCFPreferencesAnyHost);
+ if (keyList) {
+ settings = (NSMutableDictionary *)CFBridgingRelease(CFPreferencesCopyMultiple(keyList, CFSTR("com.mac-user669.zenithdarkprefs"), kCFPreferencesCurrentUser, kCFPreferencesAnyHost));
+ CFRelease(keyList);
+ } else {
+ settings = [NSMutableDictionary dictionaryWithContentsOfFile:@"/var/mobile/Library/Preferences/com.mac-user669.zenithdarkprefs.plist"];
+ }
+
+ enabled = [([settings objectForKey:@"enabled"] ? [settings objectForKey:@"enabled"] : @(YES)) boolValue];
+}
+
+
+
+#include
+#if defined(__clang__)
+#if __has_feature(objc_arc)
+#define _LOGOS_SELF_TYPE_NORMAL __unsafe_unretained
+#define _LOGOS_SELF_TYPE_INIT __attribute__((ns_consumed))
+#define _LOGOS_SELF_CONST const
+#define _LOGOS_RETURN_RETAINED __attribute__((ns_returns_retained))
+#else
+#define _LOGOS_SELF_TYPE_NORMAL
+#define _LOGOS_SELF_TYPE_INIT
+#define _LOGOS_SELF_CONST
+#define _LOGOS_RETURN_RETAINED
+#endif
+#else
+#define _LOGOS_SELF_TYPE_NORMAL
+#define _LOGOS_SELF_TYPE_INIT
+#define _LOGOS_SELF_CONST
+#define _LOGOS_RETURN_RETAINED
+#endif
+
+@class ZNGrabberAccessoryView;
+static void (*_logos_orig$_ungrouped$ZNGrabberAccessoryView$traitCollectionDidChange$)(_LOGOS_SELF_TYPE_NORMAL ZNGrabberAccessoryView* _LOGOS_SELF_CONST, SEL, UITraitCollection *); static void _logos_method$_ungrouped$ZNGrabberAccessoryView$traitCollectionDidChange$(_LOGOS_SELF_TYPE_NORMAL ZNGrabberAccessoryView* _LOGOS_SELF_CONST, SEL, UITraitCollection *); static void (*_logos_orig$_ungrouped$ZNGrabberAccessoryView$setBackgroundColor$)(_LOGOS_SELF_TYPE_NORMAL ZNGrabberAccessoryView* _LOGOS_SELF_CONST, SEL, UIColor *); static void _logos_method$_ungrouped$ZNGrabberAccessoryView$setBackgroundColor$(_LOGOS_SELF_TYPE_NORMAL ZNGrabberAccessoryView* _LOGOS_SELF_CONST, SEL, UIColor *);
+
+#line 30 "Tweak.xm"
+
+
+static void _logos_method$_ungrouped$ZNGrabberAccessoryView$traitCollectionDidChange$(_LOGOS_SELF_TYPE_NORMAL ZNGrabberAccessoryView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, UITraitCollection * previousTraitCollection) {
+ if (enabled) {
+ _logos_orig$_ungrouped$ZNGrabberAccessoryView$traitCollectionDidChange$(self, _cmd, previousTraitCollection);
+ if (@available(iOS 13, *)) {
+ if (self.traitCollection.userInterfaceStyle == UIUserInterfaceStyleDark) {
+ [self setBackgroundColor:kDarkModeColor];
+ }
+
+ else {
+ [self setBackgroundColor:kLightModeColor];
+ }
+ }
+ }
+ _logos_orig$_ungrouped$ZNGrabberAccessoryView$traitCollectionDidChange$(self, _cmd, previousTraitCollection);
+}
+
+
+
+static void _logos_method$_ungrouped$ZNGrabberAccessoryView$setBackgroundColor$(_LOGOS_SELF_TYPE_NORMAL ZNGrabberAccessoryView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, UIColor * backgroundColor) {
+ if (enabled) {
+
+ if (@available(iOS 13, *)) {
+ if (self.traitCollection.userInterfaceStyle == UIUserInterfaceStyleDark) {
+ _logos_orig$_ungrouped$ZNGrabberAccessoryView$setBackgroundColor$(self, _cmd, kDarkModeColor);
+ }
+
+ else {
+ _logos_orig$_ungrouped$ZNGrabberAccessoryView$setBackgroundColor$(self, _cmd, backgroundColor);
+ }
+ }
+ }
+ _logos_orig$_ungrouped$ZNGrabberAccessoryView$setBackgroundColor$(self, _cmd, backgroundColor);
+}
+
+
+
+
+
+
+
+static __attribute__((constructor)) void _logosLocalCtor_7f270ec4(int __unused argc, char __unused **argv, char __unused **envp) {
+
+loadPrefs();
+
+
+dlopen ("/Library/MobileSubstrate/DynamicLibraries/Zenith.dylib", RTLD_NOW);
+
+}
+static __attribute__((constructor)) void _logosLocalInit() {
+{Class _logos_class$_ungrouped$ZNGrabberAccessoryView = objc_getClass("ZNGrabberAccessoryView"); MSHookMessageEx(_logos_class$_ungrouped$ZNGrabberAccessoryView, @selector(traitCollectionDidChange:), (IMP)&_logos_method$_ungrouped$ZNGrabberAccessoryView$traitCollectionDidChange$, (IMP*)&_logos_orig$_ungrouped$ZNGrabberAccessoryView$traitCollectionDidChange$);MSHookMessageEx(_logos_class$_ungrouped$ZNGrabberAccessoryView, @selector(setBackgroundColor:), (IMP)&_logos_method$_ungrouped$ZNGrabberAccessoryView$setBackgroundColor$, (IMP*)&_logos_orig$_ungrouped$ZNGrabberAccessoryView$setBackgroundColor$);} }
+#line 80 "Tweak.xm"
diff --git a/.theos/obj/arm64e/ZenithDark.dylib b/.theos/obj/arm64e/ZenithDark.dylib
index b95cc8c..a494c2b 100755
Binary files a/.theos/obj/arm64e/ZenithDark.dylib and b/.theos/obj/arm64e/ZenithDark.dylib differ
diff --git a/.theos/obj/arm64e/ZenithDark.dylib.dSYM/Contents/Resources/DWARF/ZenithDark.dylib b/.theos/obj/arm64e/ZenithDark.dylib.dSYM/Contents/Resources/DWARF/ZenithDark.dylib
index 9cd858b..d6093f7 100644
Binary files a/.theos/obj/arm64e/ZenithDark.dylib.dSYM/Contents/Resources/DWARF/ZenithDark.dylib and b/.theos/obj/arm64e/ZenithDark.dylib.dSYM/Contents/Resources/DWARF/ZenithDark.dylib differ
diff --git a/Makefile b/Makefile
index ba10947..6387a69 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
ARCHS = arm64 arm64e
-SDK = iPhoneOS12.4
+SDK = iPhoneOS13.0
FINALPACKAGE = 1
-export TARGET = iphone:clang:11.2:latest
+export TARGET = iphone:clang:13.0:latest
include $(THEOS)/makefiles/common.mk
diff --git a/Tweak.xm b/Tweak.xm
index 4af4b04..fbd9fd6 100644
--- a/Tweak.xm
+++ b/Tweak.xm
@@ -12,8 +12,6 @@ Written for Cooper Hull, @(mac-user669).
#import "ZenithDark.h"
static BOOL enabled;
-static BOOL replaceOriginalView;
-static BOOL notificationBadgesEnabled;
static void loadPrefs() {
static NSMutableDictionary *settings;
@@ -26,15 +24,13 @@ static void loadPrefs() {
}
enabled = [([settings objectForKey:@"enabled"] ? [settings objectForKey:@"enabled"] : @(YES)) boolValue];
- replaceOriginalView = [([settings objectForKey:@"replaceoriginalview"] ? [settings objectForKey:@"replaceoriginalview"] : @(YES)) boolValue];
- notificationBadgesEnabled = [([settings objectForKey:@"notificationBadgesEnabled"] ? [settings objectForKey:@"notificationBadgesEnabled"] : NO) boolValue];
}
-
// We then hook the class in this case Zenith's grabber view is called “ZNGrabberAccessoryView”
%hook ZNGrabberAccessoryView
-// this is called when iOS 13's dark mode is enabled!
+ // this is called when iOS 13's dark mode is enabled!
-(void)traitCollectionDidChange:(UITraitCollection *)previousTraitCollection {
+ if (enabled) {
%orig(previousTraitCollection);
if (@available(iOS 13, *)) {
if (self.traitCollection.userInterfaceStyle == UIUserInterfaceStyleDark) {
@@ -43,13 +39,16 @@ static void loadPrefs() {
else {
[self setBackgroundColor:kLightModeColor];
+ }
}
}
+ %orig;
}
// the method we modify is this method that is called from UIImageView to set the backgroundColor of the image view.
// Since the grabber view is of type UIImageView we can modify this method :)
-(void)setBackgroundColor:(UIColor *)backgroundColor {
+ if (enabled) {
// by default have our tweak overide this.
if (@available(iOS 13, *)) {
if (self.traitCollection.userInterfaceStyle == UIUserInterfaceStyleDark) {
@@ -58,13 +57,17 @@ static void loadPrefs() {
else {
%orig;
+ }
}
}
+ %orig;
}
+
// we need to make sure we tell theos that we are finished hooking this class not doing so with cause the end of the world :P
%end
+
// our constructor
%ctor {
diff --git a/packages/com.mac-user669.zenithdark_1.0_iphoneos-arm.deb b/packages/com.mac-user669.zenithdark_1.0_iphoneos-arm.deb
index d283c87..6ac9a87 100644
Binary files a/packages/com.mac-user669.zenithdark_1.0_iphoneos-arm.deb and b/packages/com.mac-user669.zenithdark_1.0_iphoneos-arm.deb differ
diff --git a/zenithdarkprefs/Makefile b/zenithdarkprefs/Makefile
index b9786d6..aab3c31 100644
--- a/zenithdarkprefs/Makefile
+++ b/zenithdarkprefs/Makefile
@@ -1,7 +1,7 @@
include $(THEOS)/makefiles/common.mk
ARCHS = arm64 arm64e
-export TARGET = iphone:clang:11.2:latest
+export TARGET = iphone:clang:13.0:latest
BUNDLE_NAME = ZenithDarkPrefs
ZenithDarkPrefs_FILES = ZnthDrkRootListController.m
diff --git a/zenithdarkprefs/Resources/Root.plist b/zenithdarkprefs/Resources/Root.plist
index 5522dc1..727bd0f 100644
--- a/zenithdarkprefs/Resources/Root.plist
+++ b/zenithdarkprefs/Resources/Root.plist
@@ -22,36 +22,7 @@
label
Enable
-
- cell
- PSGroupCell
- label
- Customization
-
-
- cell
- PSSwitchCell
- default
-
- defaults
- com.mac-user669.zenithdarkprefs
- key
- replaceoriginalview
- label
- Replace Original View
-
-
- cell
- PSSwitchCell
- default
-
- defaults
- com.mac-user669.zenithdarkprefs
- key
- notificationBadgesEnabled
- label
- Enable Notification Badges
-
+
cell
PSGroupCell