8 Commits

Author SHA1 Message Date
9a773da200 hopefully this will fix carplaylabels (note to self remember to test this) 2020-01-06 08:42:51 +01:00
4074b7aef7 fsuibdhfgodjåfpgduhf 2020-01-05 20:36:22 +01:00
fbad8077cc ughhhhhhhh 2020-01-05 20:35:03 +01:00
199a11a28a control file update 2020-01-05 20:33:35 +01:00
c12ce4a3e9 hide page dots 2020-01-05 20:33:01 +01:00
0a46477722 option to hide no older notifications 2020-01-05 16:44:37 +01:00
84f191baba added an icon 2020-01-05 15:37:38 +01:00
4782f5a489 add an icon 2020-01-05 15:02:27 +01:00
6 changed files with 42 additions and 3 deletions

View File

@ -1 +1 @@
{ Filter = { Bundles = ( "com.apple.springboard" ); }; } { Filter = { Bundles = ( "com.apple.springboard", "com.apple.CarPlayApp" ); }; }

24
Tweak.x
View File

@ -30,6 +30,7 @@ static BOOL hideFolderTitle;
static BOOL hideFolderBG; static BOOL hideFolderBG;
static BOOL hideFolderBGSB; static BOOL hideFolderBGSB;
static BOOL hideFolderDots; static BOOL hideFolderDots;
static BOOL hideNoOlderNotifs;
//static BOOL hideStatusBarLS; //static BOOL hideStatusBarLS;
static BOOL hideCCGrabber; static BOOL hideCCGrabber;
@ -46,6 +47,7 @@ static void notificationCallback(CFNotificationCenterRef center, void *observer,
NSNumber *eHideFolderBG = (NSNumber *)[[NSUserDefaults standardUserDefaults] objectForKey:@"hideFolderBG" inDomain:nsDomainString]; NSNumber *eHideFolderBG = (NSNumber *)[[NSUserDefaults standardUserDefaults] objectForKey:@"hideFolderBG" inDomain:nsDomainString];
NSNumber *eHideFolderBGSB = (NSNumber *)[[NSUserDefaults standardUserDefaults] objectForKey:@"hideFolderBGSB" inDomain:nsDomainString]; NSNumber *eHideFolderBGSB = (NSNumber *)[[NSUserDefaults standardUserDefaults] objectForKey:@"hideFolderBGSB" inDomain:nsDomainString];
NSNumber *eHideFolderDots = (NSNumber *)[[NSUserDefaults standardUserDefaults] objectForKey:@"hideFolderDots" 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 *eHideStatusBarLS = (NSNumber *)[[NSUserDefaults standardUserDefaults] objectForKey:@"hideStatusBarLS" inDomain:nsDomainString];
NSNumber *eHideCCGrabber = (NSNumber *)[[NSUserDefaults standardUserDefaults] objectForKey:@"hideCCGrabber" 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; hideFolderBG = (eHideFolderBG) ? [eHideFolderBG boolValue]:NO;
hideFolderBGSB = (eHideFolderBGSB) ? [eHideFolderBGSB boolValue]:NO; hideFolderBGSB = (eHideFolderBGSB) ? [eHideFolderBGSB boolValue]:NO;
hideFolderDots = (eHideFolderDots) ? [eHideFolderDots boolValue]:NO; hideFolderDots = (eHideFolderDots) ? [eHideFolderDots boolValue]:NO;
hideNoOlderNotifs = (eHideNoOlderNotifs) ? [eHideNoOlderNotifs boolValue]:NO;
//hideStatusBarLS = (eHideStatusBarLS) ? [eHideStatusBarLS boolValue]:NO; //hideStatusBarLS = (eHideStatusBarLS) ? [eHideStatusBarLS boolValue]:NO;
hideCCGrabber = (eHideCCGrabber) ? [eHideCCGrabber 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; -(void)_closeFolderController:(id)arg1 animated:(BOOL)arg2 withCompletion:(id)arg3;
@end @end
@interface SBUILegibilityLabel : UIView
@property (nonatomic,copy) NSString *string;
@end
@interface NCNotificationListSectionRevealHintView : UIView
@property (nonatomic,retain)SBUILegibilityLabel *revealHintTitle;
@end
/*@interface SBFloatyFolderView : SBFolderView /*@interface SBFloatyFolderView : SBFolderView
-(void)_handleOutsideTap:(id)arg1 ; -(void)_handleOutsideTap:(id)arg1 ;
@end @end
@ -121,6 +132,19 @@ static void notificationCallback(CFNotificationCenterRef center, void *observer,
%group universal %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 // // QUICK ACTIONS BG START //
%hook UICoverSheetButton %hook UICoverSheetButton
-(id)_backgroundEffectsWithBrightness:(double)arg1 { -(id)_backgroundEffectsWithBrightness:(double)arg1 {

View File

@ -1,9 +1,10 @@
Package: com.yaypixxo.kage Package: com.yaypixxo.kage
Name: Kage Name: Kage
Depends: mobilesubstrate, preferenceloader Depends: mobilesubstrate, preferenceloader
Version: 1.1.0 Version: 1.1.2
Architecture: iphoneos-arm Architecture: iphoneos-arm
Description: show/hide/change ls and hs stuff! 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 Depiction: https://yaypixxo.com/depictions?p=com.yaypixxo.kage
SileoDepiction: https://yaypixxo.com/sileo/com.yaypixxo.kage SileoDepiction: https://yaypixxo.com/sileo/com.yaypixxo.kage
Maintainer: YaYPIXXO <viggo@lekdorf.com> Maintainer: YaYPIXXO <viggo@lekdorf.com>

View File

@ -174,7 +174,21 @@
<key>key</key> <key>key</key>
<string>hideFolderDots</string> <string>hideFolderDots</string>
<key>label</key> <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> <key>PostNotification</key>
<string>com.yaypixxo.kage/preferences.changed</string> <string>com.yaypixxo.kage/preferences.changed</string>
</dict> </dict>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB