Pārlūkot izejas kodu

V1.7

Fixed the tweak not loading on iOS 13, stupid me forgot that i restricted it back on iOS 12.
beta-future-time
Gil Shahar pirms 4 gadiem
vecāks
revīzija
cc8d7486c1
Revīzijas autora e-pasta adrese nav piesaistīta nevienam kontam
3 mainītis faili ar 7 papildinājumiem un 7 dzēšanām
  1. +6
    -6
      Tweak.xm
  2. +1
    -1
      control
  3. Binārs
      packages/com.gilshahar7.exacttime_1.7_iphoneos-arm.deb

+ 6
- 6
Tweak.xm Parādīt failu

@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;
@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
%end %end
%end %end


%group iOS12
%group iOS12AndAbove
%hook PLPlatterHeaderContentView %hook PLPlatterHeaderContentView
-(void)_updateTextAttributesForDateLabel{ -(void)_updateTextAttributesForDateLabel{
%orig; %orig;
%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) {
%init(iOS12);
}else if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 12.0) {
%init(iOS12AndAbove);
} }
}
}

+ 1
- 1
control Parādīt failu

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

Binārs
packages/com.gilshahar7.exacttime_1.7_iphoneos-arm.deb Parādīt failu


Notiek ielāde…
Atcelt
Saglabāt