Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
9a773da200 | |||
4074b7aef7 | |||
fbad8077cc | |||
199a11a28a | |||
c12ce4a3e9 | |||
0a46477722 | |||
84f191baba | |||
4782f5a489 |
@ -1 +1 @@
|
||||
{ Filter = { Bundles = ( "com.apple.springboard" ); }; }
|
||||
{ Filter = { Bundles = ( "com.apple.springboard", "com.apple.CarPlayApp" ); }; }
|
||||
|
24
Tweak.x
24
Tweak.x
@ -30,6 +30,7 @@ static BOOL hideFolderTitle;
|
||||
static BOOL hideFolderBG;
|
||||
static BOOL hideFolderBGSB;
|
||||
static BOOL hideFolderDots;
|
||||
static BOOL hideNoOlderNotifs;
|
||||
//static BOOL hideStatusBarLS;
|
||||
static BOOL hideCCGrabber;
|
||||
|
||||
@ -46,6 +47,7 @@ static void notificationCallback(CFNotificationCenterRef center, void *observer,
|
||||
NSNumber *eHideFolderBG = (NSNumber *)[[NSUserDefaults standardUserDefaults] objectForKey:@"hideFolderBG" inDomain:nsDomainString];
|
||||
NSNumber *eHideFolderBGSB = (NSNumber *)[[NSUserDefaults standardUserDefaults] objectForKey:@"hideFolderBGSB" inDomain:nsDomainString];
|
||||
NSNumber *eHideFolderDots = (NSNumber *)[[NSUserDefaults standardUserDefaults] objectForKey:@"hideFolderDots" inDomain:nsDomainString];
|
||||
NSNumber *eHideNoOlderNotifs = (NSNumber *)[[NSUserDefaults standardUserDefaults] objectForKey:@"hideNoOlderNotifs" inDomain:nsDomainString];
|
||||
//NSNumber *eHideStatusBarLS = (NSNumber *)[[NSUserDefaults standardUserDefaults] objectForKey:@"hideStatusBarLS" inDomain:nsDomainString];
|
||||
NSNumber *eHideCCGrabber = (NSNumber *)[[NSUserDefaults standardUserDefaults] objectForKey:@"hideCCGrabber" inDomain:nsDomainString];
|
||||
|
||||
@ -61,6 +63,7 @@ static void notificationCallback(CFNotificationCenterRef center, void *observer,
|
||||
hideFolderBG = (eHideFolderBG) ? [eHideFolderBG boolValue]:NO;
|
||||
hideFolderBGSB = (eHideFolderBGSB) ? [eHideFolderBGSB boolValue]:NO;
|
||||
hideFolderDots = (eHideFolderDots) ? [eHideFolderDots boolValue]:NO;
|
||||
hideNoOlderNotifs = (eHideNoOlderNotifs) ? [eHideNoOlderNotifs boolValue]:NO;
|
||||
//hideStatusBarLS = (eHideStatusBarLS) ? [eHideStatusBarLS boolValue]:NO;
|
||||
hideCCGrabber = (eHideCCGrabber) ? [eHideCCGrabber boolValue]:NO;
|
||||
}
|
||||
@ -100,6 +103,14 @@ static void notificationCallback(CFNotificationCenterRef center, void *observer,
|
||||
-(void)_closeFolderController:(id)arg1 animated:(BOOL)arg2 withCompletion:(id)arg3;
|
||||
@end
|
||||
|
||||
@interface SBUILegibilityLabel : UIView
|
||||
@property (nonatomic,copy) NSString *string;
|
||||
@end
|
||||
|
||||
@interface NCNotificationListSectionRevealHintView : UIView
|
||||
@property (nonatomic,retain)SBUILegibilityLabel *revealHintTitle;
|
||||
@end
|
||||
|
||||
/*@interface SBFloatyFolderView : SBFolderView
|
||||
-(void)_handleOutsideTap:(id)arg1 ;
|
||||
@end
|
||||
@ -121,6 +132,19 @@ static void notificationCallback(CFNotificationCenterRef center, void *observer,
|
||||
|
||||
%group universal
|
||||
|
||||
// HIDE NO OLDER NOTIFICATIONS START //
|
||||
%hook NCNotificationListSectionRevealHintView
|
||||
|
||||
-(void)didMoveToWindow {
|
||||
%orig;
|
||||
if (enabled && hideNoOlderNotifs) {
|
||||
self.revealHintTitle.string = @"";
|
||||
}
|
||||
}
|
||||
|
||||
%end
|
||||
// HIDE NO OLDER NOTIFICATIONS END //
|
||||
|
||||
// QUICK ACTIONS BG START //
|
||||
%hook UICoverSheetButton
|
||||
-(id)_backgroundEffectsWithBrightness:(double)arg1 {
|
||||
|
3
control
3
control
@ -1,9 +1,10 @@
|
||||
Package: com.yaypixxo.kage
|
||||
Name: Kage
|
||||
Depends: mobilesubstrate, preferenceloader
|
||||
Version: 1.1.0
|
||||
Version: 1.1.2
|
||||
Architecture: iphoneos-arm
|
||||
Description: show/hide/change ls and hs stuff!
|
||||
Icon: https://yaypixxo.com/assets/com.yaypixxo.kage.png
|
||||
Depiction: https://yaypixxo.com/depictions?p=com.yaypixxo.kage
|
||||
SileoDepiction: https://yaypixxo.com/sileo/com.yaypixxo.kage
|
||||
Maintainer: YaYPIXXO <viggo@lekdorf.com>
|
||||
|
@ -174,7 +174,21 @@
|
||||
<key>key</key>
|
||||
<string>hideFolderDots</string>
|
||||
<key>label</key>
|
||||
<string>Hide Folder Page Dots</string>
|
||||
<string>Hide Page Dots*</string>
|
||||
<key>PostNotification</key>
|
||||
<string>com.yaypixxo.kage/preferences.changed</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSSwitchCell</string>
|
||||
<key>default</key>
|
||||
<false/>
|
||||
<key>defaults</key>
|
||||
<string>com.yaypixxo.kage</string>
|
||||
<key>key</key>
|
||||
<string>hideNoOlderNotifs</string>
|
||||
<key>label</key>
|
||||
<string>Hide "No Older Notifications"</string>
|
||||
<key>PostNotification</key>
|
||||
<string>com.yaypixxo.kage/preferences.changed</string>
|
||||
</dict>
|
||||
|
BIN
kageprefs/Resources/icon.png
Normal file
BIN
kageprefs/Resources/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
BIN
kageprefs/Resources/icon@2x.png
Normal file
BIN
kageprefs/Resources/icon@2x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.6 KiB |
Reference in New Issue
Block a user