Fixed the tweak not loading on iOS 13, stupid me forgot that i restricted it back on iOS 12.
This commit is contained in:
2019-11-22 11:23:35 +02:00
committed by GitHub
parent e0c5d58001
commit cc8d7486c1
3 changed files with 7 additions and 7 deletions

View File

@ -7,7 +7,7 @@
@interface NCLookHeaderContentView @interface NCLookHeaderContentView
-(void)_updateDateLabelFontForShortLook; -(void)_updateDateLabelFontForShortLook;
@end @end
//IOS 11 & 12 //IOS 11 & 12 And Above
@interface BSUIRelativeDateLabel @interface BSUIRelativeDateLabel
@property (assign,nonatomic) NSString *text; @property (assign,nonatomic) NSString *text;
-(void)sizeToFit; -(void)sizeToFit;
@ -16,7 +16,7 @@
@interface MTPlatterHeaderContentView @interface MTPlatterHeaderContentView
-(void)_updateTextAttributesForDateLabel; -(void)_updateTextAttributesForDateLabel;
@end @end
//IOS 12 //IOS 12 And Above
@interface PLPlatterHeaderContentView @interface PLPlatterHeaderContentView
-(void)_updateTextAttributesForDateLabel; -(void)_updateTextAttributesForDateLabel;
@end @end
@ -152,7 +152,7 @@ static NSString *settingsPath = @"/var/mobile/Library/Preferences/com.gilshahar7
%end %end
%end %end
%group iOS12 %group iOS12AndAbove
%hook PLPlatterHeaderContentView %hook PLPlatterHeaderContentView
-(void)_updateTextAttributesForDateLabel{ -(void)_updateTextAttributesForDateLabel{
%orig; %orig;
@ -229,7 +229,7 @@ static NSString *settingsPath = @"/var/mobile/Library/Preferences/com.gilshahar7
%init(iOS10); %init(iOS10);
} else if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 11.0 && [[[UIDevice currentDevice] systemVersion] floatValue] < 12.0) { } else if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 11.0 && [[[UIDevice currentDevice] systemVersion] floatValue] < 12.0) {
%init(iOS11); %init(iOS11);
}else if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 12.0 && [[[UIDevice currentDevice] systemVersion] floatValue] < 13.0) { }else if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 12.0) {
%init(iOS12); %init(iOS12AndAbove);
} }
} }

View File

@ -1,7 +1,7 @@
Package: com.gilshahar7.exacttime Package: com.gilshahar7.exacttime
Name: ExactTime Name: ExactTime
Depends: mobilesubstrate Depends: mobilesubstrate
Version: 1.6 Version: 1.7
Architecture: iphoneos-arm Architecture: iphoneos-arm
Description: Shows the exact time of a notification. Description: Shows the exact time of a notification.
Maintainer: gilshahar7 Maintainer: gilshahar7

Binary file not shown.