1.5.1
This commit is contained in:
parent
1ba8dc48be
commit
162528d64f
32 changed files with 172 additions and 249 deletions
|
@ -8,5 +8,5 @@ Depiction: https://mpg13.github.io/repo/depicts/undertime.html
|
|||
Maintainer: MPG13 <micahplacido@gmail.com>
|
||||
Author: MPG13 <micahplacido@gmail.com>
|
||||
Section: Tweaks
|
||||
Version: 1.5-4+debug
|
||||
Version: 1.5.1-12+debug
|
||||
Installed-Size: 200
|
||||
|
|
Binary file not shown.
|
@ -16,14 +16,38 @@
|
|||
<key>cell</key>
|
||||
<string>PSSwitchCell</string>
|
||||
<key>default</key>
|
||||
<true/>
|
||||
<false/>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.undertime</string>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>Enable</string>
|
||||
<key>label</key>
|
||||
<string>Enable tweak</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
<key>label</key>
|
||||
<string></string>
|
||||
<key>height</key>
|
||||
<string>10</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSStaticTextCell</string>
|
||||
<key>height</key>
|
||||
<string>45</string>
|
||||
<key>label</key>
|
||||
<string>Edit all settings you want changed! Just because</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSStaticTextCell</string>
|
||||
<key>height</key>
|
||||
<string>45</string>
|
||||
<key>label</key>
|
||||
<string>they look configured doesn't mean they are!</string>
|
||||
</dict>
|
||||
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
|
@ -37,9 +61,9 @@
|
|||
<key>cell</key>
|
||||
<string>PSSwitchCell</string>
|
||||
<key>default</key>
|
||||
<true/>
|
||||
<false/>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.undertime</string>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>lineOneEnable</string>
|
||||
<key>label</key>
|
||||
|
@ -51,7 +75,7 @@
|
|||
<key>default</key>
|
||||
<false/>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.undertime</string>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>lineOneStandard</string>
|
||||
<key>label</key>
|
||||
|
@ -61,15 +85,17 @@
|
|||
<key>cell</key>
|
||||
<string>PSEditTextCell</string>
|
||||
<key>default</key>
|
||||
<string>h:mm:ss</string>
|
||||
<string></string>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.undertime</string>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>lineOne</string>
|
||||
<key>label</key>
|
||||
<string>Format:</string>
|
||||
<key>noAutoCorrect</key>
|
||||
<true/>
|
||||
<false/>
|
||||
<key>placeholder</key>
|
||||
<string>Top line format</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
|
@ -77,7 +103,7 @@
|
|||
<key>default</key>
|
||||
<false/>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.undertime</string>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>replaceTime</string>
|
||||
<key>label</key>
|
||||
|
@ -98,7 +124,7 @@
|
|||
<key>default</key>
|
||||
<false/>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.undertime</string>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>lineTwoStandard</string>
|
||||
<key>label</key>
|
||||
|
@ -108,13 +134,15 @@
|
|||
<key>cell</key>
|
||||
<string>PSEditTextCell</string>
|
||||
<key>default</key>
|
||||
<string>E d/M</string>
|
||||
<string></string>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.undertime</string>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>label</key>
|
||||
<string>Format:</string>
|
||||
<key>key</key>
|
||||
<string>lineTwo</string>
|
||||
<key>placeholder</key>
|
||||
<string>Bottom Line Format</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
|
@ -141,9 +169,9 @@
|
|||
<key>cell</key>
|
||||
<string>PSSliderCell</string>
|
||||
<key>default</key>
|
||||
<integer>12</integer>
|
||||
<integer>0</integer>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.undertime</string>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>sizeOfFont</string>
|
||||
<key>max</key>
|
||||
|
@ -151,7 +179,7 @@
|
|||
<key>min</key>
|
||||
<real>6</real>
|
||||
<key>showValue</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
|
||||
|
||||
|
@ -167,9 +195,9 @@
|
|||
<key>cell</key>
|
||||
<string>PSSliderCell</string>
|
||||
<key>default</key>
|
||||
<integer>1</integer>
|
||||
<integer>0</integer>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.undertime</string>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>fontAlpha</string>
|
||||
<key>max</key>
|
||||
|
@ -177,27 +205,29 @@
|
|||
<key>min</key>
|
||||
<real>0</real>
|
||||
<key>showValue</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSEditTextCell</string>
|
||||
<key>default</key>
|
||||
<string>111111</string>
|
||||
<string></string>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.undertime</string>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>fontHex</string>
|
||||
<key>label</key>
|
||||
<string>Font Color (Hex): #</string>
|
||||
<key>placeholder</key>
|
||||
<string>Color Code</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSSwitchCell</string>
|
||||
<key>default</key>
|
||||
<true/>
|
||||
<false/>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.undertime</string>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>customColor</string>
|
||||
<key>label</key>
|
||||
|
|
Binary file not shown.
|
@ -1 +1 @@
|
|||
./packages/com.mpg13.undertime_1.5-4+debug_iphoneos-arm.deb
|
||||
./packages/com.mpg13.undertime_1.5.1-12+debug_iphoneos-arm.deb
|
||||
|
|
|
@ -16,14 +16,38 @@
|
|||
<key>cell</key>
|
||||
<string>PSSwitchCell</string>
|
||||
<key>default</key>
|
||||
<true/>
|
||||
<false/>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.undertime</string>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>Enable</string>
|
||||
<key>label</key>
|
||||
<string>Enable tweak</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
<key>label</key>
|
||||
<string></string>
|
||||
<key>height</key>
|
||||
<string>10</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSStaticTextCell</string>
|
||||
<key>height</key>
|
||||
<string>45</string>
|
||||
<key>label</key>
|
||||
<string>Edit all settings you want changed! Just because</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSStaticTextCell</string>
|
||||
<key>height</key>
|
||||
<string>45</string>
|
||||
<key>label</key>
|
||||
<string>they look configured doesn't mean they are!</string>
|
||||
</dict>
|
||||
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
|
@ -37,9 +61,9 @@
|
|||
<key>cell</key>
|
||||
<string>PSSwitchCell</string>
|
||||
<key>default</key>
|
||||
<true/>
|
||||
<false/>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.undertime</string>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>lineOneEnable</string>
|
||||
<key>label</key>
|
||||
|
@ -51,7 +75,7 @@
|
|||
<key>default</key>
|
||||
<false/>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.undertime</string>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>lineOneStandard</string>
|
||||
<key>label</key>
|
||||
|
@ -61,15 +85,17 @@
|
|||
<key>cell</key>
|
||||
<string>PSEditTextCell</string>
|
||||
<key>default</key>
|
||||
<string>h:mm:ss</string>
|
||||
<string></string>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.undertime</string>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>lineOne</string>
|
||||
<key>label</key>
|
||||
<string>Format:</string>
|
||||
<key>noAutoCorrect</key>
|
||||
<true/>
|
||||
<false/>
|
||||
<key>placeholder</key>
|
||||
<string>Top line format</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
|
@ -77,7 +103,7 @@
|
|||
<key>default</key>
|
||||
<false/>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.undertime</string>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>replaceTime</string>
|
||||
<key>label</key>
|
||||
|
@ -98,7 +124,7 @@
|
|||
<key>default</key>
|
||||
<false/>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.undertime</string>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>lineTwoStandard</string>
|
||||
<key>label</key>
|
||||
|
@ -108,13 +134,15 @@
|
|||
<key>cell</key>
|
||||
<string>PSEditTextCell</string>
|
||||
<key>default</key>
|
||||
<string>E d/M</string>
|
||||
<string></string>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.undertime</string>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>label</key>
|
||||
<string>Format:</string>
|
||||
<key>key</key>
|
||||
<string>lineTwo</string>
|
||||
<key>placeholder</key>
|
||||
<string>Bottom Line Format</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
|
@ -141,9 +169,9 @@
|
|||
<key>cell</key>
|
||||
<string>PSSliderCell</string>
|
||||
<key>default</key>
|
||||
<integer>12</integer>
|
||||
<integer>0</integer>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.undertime</string>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>sizeOfFont</string>
|
||||
<key>max</key>
|
||||
|
@ -151,7 +179,7 @@
|
|||
<key>min</key>
|
||||
<real>6</real>
|
||||
<key>showValue</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
|
||||
|
||||
|
@ -167,9 +195,9 @@
|
|||
<key>cell</key>
|
||||
<string>PSSliderCell</string>
|
||||
<key>default</key>
|
||||
<integer>1</integer>
|
||||
<integer>0</integer>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.undertime</string>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>fontAlpha</string>
|
||||
<key>max</key>
|
||||
|
@ -177,27 +205,29 @@
|
|||
<key>min</key>
|
||||
<real>0</real>
|
||||
<key>showValue</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSEditTextCell</string>
|
||||
<key>default</key>
|
||||
<string>111111</string>
|
||||
<string></string>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.undertime</string>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>fontHex</string>
|
||||
<key>label</key>
|
||||
<string>Font Color (Hex): #</string>
|
||||
<key>placeholder</key>
|
||||
<string>Color Code</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSSwitchCell</string>
|
||||
<key>default</key>
|
||||
<true/>
|
||||
<false/>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.undertime</string>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>customColor</string>
|
||||
<key>label</key>
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1 +1 @@
|
|||
4
|
||||
5
|
1
.theos/packages/com.mpg13.undertime-1.5.1
Normal file
1
.theos/packages/com.mpg13.undertime-1.5.1
Normal file
|
@ -0,0 +1 @@
|
|||
12
|
165
Tweak (copy).xm
165
Tweak (copy).xm
|
@ -1,165 +0,0 @@
|
|||
#import "important.h"
|
||||
#import <spawn.h>
|
||||
|
||||
@interface _UIStatusBarStringView : UIView
|
||||
@property (copy) NSString *text;
|
||||
@property NSInteger numberOfLines;
|
||||
@property (copy) UIFont *font;
|
||||
@property NSInteger textAlignment;
|
||||
@end
|
||||
|
||||
int sizeOfFont = GetPrefInt(@"sizeOfFont");
|
||||
|
||||
NSString *lineTwo = GetPrefString(@"lineTwo");
|
||||
NSString *lineOne = GetPrefString(@"lineOne");
|
||||
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
|
||||
|
||||
%hook _UIStatusBarStringView
|
||||
|
||||
- (void)setText:(NSString *)text {
|
||||
if(GetPrefBool(@"Enable") && ![text containsString:@"%"] && ![text containsString:@"1x"] && ![text containsString:@"LTE"] && ![text containsString:@"4G"] && ![text containsString:@"3G"] && ![text containsString:@"2G"] && ![text containsString:@"EDGE"]) {
|
||||
|
||||
NSString *timeLineTwo = lineTwo;
|
||||
NSString *timeLineOne = lineOne;
|
||||
|
||||
|
||||
NSDate *now = [NSDate date];
|
||||
if(!GetPrefBool(@"lineTwoStandard")){
|
||||
[dateFormatter setDateFormat:lineTwo];
|
||||
timeLineTwo = [dateFormatter stringFromDate:now];
|
||||
timeLineTwo = [timeLineTwo substringToIndex:[timeLineTwo length]];
|
||||
}
|
||||
if(!GetPrefBool(@"lineOneStandard")){
|
||||
[dateFormatter setDateFormat:lineOne];
|
||||
timeLineOne = [dateFormatter stringFromDate:now];
|
||||
timeLineOne = [timeLineOne substringToIndex:[timeLineOne length]];
|
||||
}
|
||||
NSString *newString;
|
||||
if(GetPrefBool(@"lineOneEnable")){
|
||||
newString = [NSString stringWithFormat:@"%@\n%@", timeLineOne, timeLineTwo];
|
||||
}
|
||||
else{
|
||||
newString = [NSString stringWithFormat:@"%@\n%@", text, timeLineTwo];
|
||||
}
|
||||
|
||||
[self setFont: [self.font fontWithSize:sizeOfFont]];
|
||||
if(GetPrefBool(@"replaceTime")){
|
||||
%orig(timeLineOne);
|
||||
}
|
||||
else{
|
||||
self.textAlignment = 1;
|
||||
self.numberOfLines = 2;
|
||||
%orig(newString);
|
||||
}
|
||||
}
|
||||
else {
|
||||
%orig(text);
|
||||
}
|
||||
}
|
||||
|
||||
%end
|
||||
|
||||
@interface _UIStatusBarTimeItem : UIView
|
||||
@property (copy) _UIStatusBarStringView *shortTimeView;
|
||||
@property (copy) _UIStatusBarStringView *pillTimeView;
|
||||
@property (nonatomic, retain) NSTimer *nz9_seconds_timer;
|
||||
@end
|
||||
|
||||
//Pray to god this works
|
||||
|
||||
@interface SBClockDataProvider : NSObject
|
||||
+ (id)sharedInstance;
|
||||
@end
|
||||
|
||||
@interface PCSimpleTimer : NSObject
|
||||
@property BOOL disableSystemWaking;
|
||||
- (BOOL)disableSystemWaking;
|
||||
- (id)initWithFireDate:(id)arg1 serviceIdentifier:(id)arg2 target:(id)arg3 selector:(SEL)arg4 userInfo:(id)arg5;
|
||||
- (id)initWithTimeInterval:(double)arg1 serviceIdentifier:(id)arg2 target:(id)arg3 selector:(SEL)arg4 userInfo:(id)arg5;
|
||||
- (void)invalidate;
|
||||
- (BOOL)isValid;
|
||||
- (void)scheduleInRunLoop:(id)arg1;
|
||||
- (void)setDisableSystemWaking:(BOOL)arg1;
|
||||
- (id)userInfo;
|
||||
@end
|
||||
|
||||
NSMutableDictionary *data = [[NSMutableDictionary alloc] init];
|
||||
|
||||
static PCSimpleTimer *udtTimer = [[%c(PCSimpleTimer) alloc] initWithFireDate:[NSDate dateWithTimeIntervalSinceNow:1] serviceIdentifier:@"com.mpg13.UnderTime" target:[%c(SBClockDataProvider) sharedInstance] selector:@selector(udtTimerFired) userInfo:data];
|
||||
|
||||
%hook _UIStatusBarTimeItem
|
||||
%new
|
||||
-(void)udtTimerFired{
|
||||
NSLog(@"Timer Fired");
|
||||
self.shortTimeView.text = @":";
|
||||
self.pillTimeView.text = @":";
|
||||
[self.shortTimeView setFont: [self.shortTimeView.font fontWithSize:sizeOfFont]];
|
||||
[self.pillTimeView setFont: [self.pillTimeView.font fontWithSize:sizeOfFont]];
|
||||
}
|
||||
|
||||
- (id)applyUpdate:(id)arg1 toDisplayItem:(id)arg2 {
|
||||
id returnThis = %orig;
|
||||
[self.shortTimeView setFont: [self.shortTimeView.font fontWithSize:sizeOfFont]];
|
||||
[self.pillTimeView setFont: [self.pillTimeView.font fontWithSize:sizeOfFont]];
|
||||
return returnThis;}
|
||||
|
||||
%end
|
||||
|
||||
/*
|
||||
%property (nonatomic, retain) NSTimer *nz9_seconds_timer;
|
||||
|
||||
- (instancetype)init {
|
||||
%orig;
|
||||
if(GetPrefBool(@"Enable") && ((!GetPrefBool(@"lineTwoStandard") && [lineTwo containsString:@"s"]) || (!GetPrefBool(@"lineOneStandard") && [lineOne containsString:@"s"]))) {
|
||||
self.nz9_seconds_timer = [NSTimer scheduledTimerWithTimeInterval:1.0 repeats:YES block:^(NSTimer *timer) {
|
||||
self.shortTimeView.text = @":";
|
||||
self.pillTimeView.text = @":";
|
||||
[self.shortTimeView setFont: [self.shortTimeView.font fontWithSize:sizeOfFont]];
|
||||
[self.pillTimeView setFont: [self.pillTimeView.font fontWithSize:sizeOfFont]];
|
||||
}];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
- (id)applyUpdate:(id)arg1 toDisplayItem:(id)arg2 {
|
||||
id returnThis = %orig;
|
||||
[self.shortTimeView setFont: [self.shortTimeView.font fontWithSize:sizeOfFont]];
|
||||
[self.pillTimeView setFont: [self.pillTimeView.font fontWithSize:sizeOfFont]];
|
||||
return returnThis;
|
||||
}
|
||||
|
||||
%end
|
||||
*/
|
||||
|
||||
@interface _UIStatusBarBackgroundActivityView : UIView
|
||||
@property (copy) CALayer *pulseLayer;
|
||||
@end
|
||||
|
||||
%hook _UIStatusBarBackgroundActivityView
|
||||
|
||||
- (void)setCenter:(CGPoint)point {
|
||||
if(GetPrefBool(@"Enable") && !GetPrefBool(@"replaceTime")){
|
||||
point.y = 11;
|
||||
self.frame = CGRectMake(0, 0, self.frame.size.width, 31);
|
||||
self.pulseLayer.frame = CGRectMake(0, 0, self.frame.size.width, 31);
|
||||
%orig(point);
|
||||
}
|
||||
}
|
||||
|
||||
%end
|
||||
|
||||
%hook _UIStatusBarIndicatorLocationItem
|
||||
|
||||
- (id)applyUpdate:(id)arg1 toDisplayItem:(id)arg2 {
|
||||
return nil;
|
||||
}
|
||||
|
||||
%end
|
||||
|
||||
%ctor {
|
||||
dateFormatter = [[NSDateFormatter alloc] init];
|
||||
dateFormatter.dateStyle = NSDateFormatterNoStyle;
|
||||
dateFormatter.timeStyle = NSDateFormatterMediumStyle;
|
||||
dateFormatter.locale = [[NSLocale alloc] initWithLocaleIdentifier:@"en_US"];
|
||||
%init;
|
||||
}
|
23
Tweak.xm
23
Tweak.xm
|
@ -62,10 +62,12 @@ NSString *fontColor = GetPrefString(@"fontHex");
|
|||
|
||||
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
|
||||
|
||||
%group allHooks
|
||||
|
||||
%hook _UIStatusBarStringView
|
||||
|
||||
- (void)setText:(NSString *)text {
|
||||
if(GetPrefBool(@"Enable") && ![text containsString:@"%"] && ![text containsString:@"1x"] && ![text containsString:@"LTE"] && ![text containsString:@"4G"] && ![text containsString:@"3G"] && ![text containsString:@"2G"] && ![text containsString:@"EDGE"]) {
|
||||
if(GetPrefBool(@"Enable") && [text containsString:@":"]) {
|
||||
NSString *timeLineOne = lineOne;
|
||||
NSString *timeLineTwo = lineTwo;
|
||||
|
||||
|
@ -133,8 +135,6 @@ NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
|
|||
%end
|
||||
|
||||
|
||||
|
||||
|
||||
%hook _UIStatusBarBackgroundActivityView
|
||||
|
||||
- (void)setCenter:(CGPoint)point {
|
||||
|
@ -157,18 +157,15 @@ NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
|
|||
|
||||
%end
|
||||
|
||||
%hook UIStatusBarBreadcrumbItemView
|
||||
|
||||
- (id)applyUpdate:(id)arg1 toDisplayItem:(id)arg2 {
|
||||
return nil;
|
||||
}
|
||||
|
||||
%end
|
||||
|
||||
%ctor {
|
||||
dateFormatter = [[NSDateFormatter alloc] init];
|
||||
dateFormatter.dateStyle = NSDateFormatterNoStyle;
|
||||
dateFormatter.timeStyle = NSDateFormatterMediumStyle;
|
||||
dateFormatter.locale = [[NSLocale alloc] initWithLocaleIdentifier:@"en_US"];
|
||||
%init;
|
||||
dateFormatter.dateStyle = NSDateFormatterNoStyle;
|
||||
dateFormatter.timeStyle = NSDateFormatterMediumStyle;
|
||||
dateFormatter.locale = [[NSLocale alloc] initWithLocaleIdentifier:@"en_US"];
|
||||
|
||||
if (![@"com.saurik.Cydia" boolValue]) {
|
||||
%init(allHooks);
|
||||
}
|
||||
}
|
2
control
2
control
|
@ -1,7 +1,7 @@
|
|||
Package: com.mpg13.undertime
|
||||
Name: UnderTime
|
||||
Depends: mobilesubstrate
|
||||
Version: 1.5
|
||||
Version: 1.5.1
|
||||
Architecture: iphoneos-arm
|
||||
Description: Customizable date under time in iX StatusBar.
|
||||
Homepage: https://mpg13.github.io
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#define PLIST_PATH @"/var/mobile/Library/Preferences/com.mpg13.undertime.plist"
|
||||
#define PLIST_PATH @"/var/mobile/Library/Preferences/com.mpg13.UnderTime.plist"
|
||||
|
||||
|
||||
inline bool GetPrefBool(NSString *key)
|
||||
|
|
BIN
packages/com.mpg13.undertime_1.5-5+debug_iphoneos-arm.deb
Normal file
BIN
packages/com.mpg13.undertime_1.5-5+debug_iphoneos-arm.deb
Normal file
Binary file not shown.
BIN
packages/com.mpg13.undertime_1.5.1-1+debug_iphoneos-arm.deb
Normal file
BIN
packages/com.mpg13.undertime_1.5.1-1+debug_iphoneos-arm.deb
Normal file
Binary file not shown.
BIN
packages/com.mpg13.undertime_1.5.1-10+debug_iphoneos-arm.deb
Normal file
BIN
packages/com.mpg13.undertime_1.5.1-10+debug_iphoneos-arm.deb
Normal file
Binary file not shown.
BIN
packages/com.mpg13.undertime_1.5.1-11+debug_iphoneos-arm.deb
Normal file
BIN
packages/com.mpg13.undertime_1.5.1-11+debug_iphoneos-arm.deb
Normal file
Binary file not shown.
BIN
packages/com.mpg13.undertime_1.5.1-12+debug_iphoneos-arm.deb
Normal file
BIN
packages/com.mpg13.undertime_1.5.1-12+debug_iphoneos-arm.deb
Normal file
Binary file not shown.
BIN
packages/com.mpg13.undertime_1.5.1-2+debug_iphoneos-arm.deb
Normal file
BIN
packages/com.mpg13.undertime_1.5.1-2+debug_iphoneos-arm.deb
Normal file
Binary file not shown.
BIN
packages/com.mpg13.undertime_1.5.1-3+debug_iphoneos-arm.deb
Normal file
BIN
packages/com.mpg13.undertime_1.5.1-3+debug_iphoneos-arm.deb
Normal file
Binary file not shown.
BIN
packages/com.mpg13.undertime_1.5.1-4+debug_iphoneos-arm.deb
Normal file
BIN
packages/com.mpg13.undertime_1.5.1-4+debug_iphoneos-arm.deb
Normal file
Binary file not shown.
BIN
packages/com.mpg13.undertime_1.5.1-5+debug_iphoneos-arm.deb
Normal file
BIN
packages/com.mpg13.undertime_1.5.1-5+debug_iphoneos-arm.deb
Normal file
Binary file not shown.
BIN
packages/com.mpg13.undertime_1.5.1-6+debug_iphoneos-arm.deb
Normal file
BIN
packages/com.mpg13.undertime_1.5.1-6+debug_iphoneos-arm.deb
Normal file
Binary file not shown.
BIN
packages/com.mpg13.undertime_1.5.1-7+debug_iphoneos-arm.deb
Normal file
BIN
packages/com.mpg13.undertime_1.5.1-7+debug_iphoneos-arm.deb
Normal file
Binary file not shown.
BIN
packages/com.mpg13.undertime_1.5.1-8+debug_iphoneos-arm.deb
Normal file
BIN
packages/com.mpg13.undertime_1.5.1-8+debug_iphoneos-arm.deb
Normal file
Binary file not shown.
BIN
packages/com.mpg13.undertime_1.5.1-9+debug_iphoneos-arm.deb
Normal file
BIN
packages/com.mpg13.undertime_1.5.1-9+debug_iphoneos-arm.deb
Normal file
Binary file not shown.
|
@ -16,14 +16,38 @@
|
|||
<key>cell</key>
|
||||
<string>PSSwitchCell</string>
|
||||
<key>default</key>
|
||||
<true/>
|
||||
<false/>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.undertime</string>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>Enable</string>
|
||||
<key>label</key>
|
||||
<string>Enable tweak</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
<key>label</key>
|
||||
<string></string>
|
||||
<key>height</key>
|
||||
<string>10</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSStaticTextCell</string>
|
||||
<key>height</key>
|
||||
<string>45</string>
|
||||
<key>label</key>
|
||||
<string>Edit all settings you want changed! Just because</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSStaticTextCell</string>
|
||||
<key>height</key>
|
||||
<string>45</string>
|
||||
<key>label</key>
|
||||
<string>they look configured doesn't mean they are!</string>
|
||||
</dict>
|
||||
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
|
@ -37,9 +61,9 @@
|
|||
<key>cell</key>
|
||||
<string>PSSwitchCell</string>
|
||||
<key>default</key>
|
||||
<true/>
|
||||
<false/>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.undertime</string>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>lineOneEnable</string>
|
||||
<key>label</key>
|
||||
|
@ -51,7 +75,7 @@
|
|||
<key>default</key>
|
||||
<false/>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.undertime</string>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>lineOneStandard</string>
|
||||
<key>label</key>
|
||||
|
@ -61,15 +85,17 @@
|
|||
<key>cell</key>
|
||||
<string>PSEditTextCell</string>
|
||||
<key>default</key>
|
||||
<string>h:mm:ss</string>
|
||||
<string></string>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.undertime</string>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>lineOne</string>
|
||||
<key>label</key>
|
||||
<string>Format:</string>
|
||||
<key>noAutoCorrect</key>
|
||||
<true/>
|
||||
<false/>
|
||||
<key>placeholder</key>
|
||||
<string>Top line format</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
|
@ -77,7 +103,7 @@
|
|||
<key>default</key>
|
||||
<false/>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.undertime</string>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>replaceTime</string>
|
||||
<key>label</key>
|
||||
|
@ -98,7 +124,7 @@
|
|||
<key>default</key>
|
||||
<false/>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.undertime</string>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>lineTwoStandard</string>
|
||||
<key>label</key>
|
||||
|
@ -108,13 +134,15 @@
|
|||
<key>cell</key>
|
||||
<string>PSEditTextCell</string>
|
||||
<key>default</key>
|
||||
<string>E d/M</string>
|
||||
<string></string>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.undertime</string>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>label</key>
|
||||
<string>Format:</string>
|
||||
<key>key</key>
|
||||
<string>lineTwo</string>
|
||||
<key>placeholder</key>
|
||||
<string>Bottom Line Format</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
|
@ -141,9 +169,9 @@
|
|||
<key>cell</key>
|
||||
<string>PSSliderCell</string>
|
||||
<key>default</key>
|
||||
<integer>12</integer>
|
||||
<integer>0</integer>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.undertime</string>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>sizeOfFont</string>
|
||||
<key>max</key>
|
||||
|
@ -151,7 +179,7 @@
|
|||
<key>min</key>
|
||||
<real>6</real>
|
||||
<key>showValue</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
|
||||
|
||||
|
@ -167,9 +195,9 @@
|
|||
<key>cell</key>
|
||||
<string>PSSliderCell</string>
|
||||
<key>default</key>
|
||||
<integer>1</integer>
|
||||
<integer>0</integer>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.undertime</string>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>fontAlpha</string>
|
||||
<key>max</key>
|
||||
|
@ -177,27 +205,29 @@
|
|||
<key>min</key>
|
||||
<real>0</real>
|
||||
<key>showValue</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSEditTextCell</string>
|
||||
<key>default</key>
|
||||
<string>111111</string>
|
||||
<string></string>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.undertime</string>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>fontHex</string>
|
||||
<key>label</key>
|
||||
<string>Font Color (Hex): #</string>
|
||||
<key>placeholder</key>
|
||||
<string>Color Code</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSSwitchCell</string>
|
||||
<key>default</key>
|
||||
<true/>
|
||||
<false/>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.undertime</string>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>customColor</string>
|
||||
<key>label</key>
|
||||
|
|
Reference in a new issue