yeeeee
This commit is contained in:
parent
adae08cc51
commit
23d8051023
12 changed files with 12 additions and 12 deletions
|
@ -8,5 +8,5 @@ Depiction: https://mpg13.github.io/repo/depicts/undertime.html
|
||||||
Maintainer: MPG13 <micahplacido@gmail.com>
|
Maintainer: MPG13 <micahplacido@gmail.com>
|
||||||
Author: MPG13 <micahplacido@gmail.com>
|
Author: MPG13 <micahplacido@gmail.com>
|
||||||
Section: Tweaks
|
Section: Tweaks
|
||||||
Version: 1.3-18+debug
|
Version: 1.3-20+debug
|
||||||
Installed-Size: 192
|
Installed-Size: 192
|
||||||
|
|
Binary file not shown.
|
@ -1 +1 @@
|
||||||
./packages/com.mpg13.undertime_1.3-18+debug_iphoneos-arm.deb
|
./packages/com.mpg13.undertime_1.3-20+debug_iphoneos-arm.deb
|
||||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -32,7 +32,7 @@ int sizeOfFont = GetPrefInt(@"sizeOfFont");
|
||||||
#define _LOGOS_RETURN_RETAINED
|
#define _LOGOS_RETURN_RETAINED
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@class _UIStatusBarBackgroundActivityView; @class _UIStatusBarStringView; @class _UIStatusBarTimeItem;
|
@class _UIStatusBarTimeItem; @class _UIStatusBarStringView; @class _UIStatusBarBackgroundActivityView;
|
||||||
static void (*_logos_orig$_ungrouped$_UIStatusBarStringView$setText$)(_LOGOS_SELF_TYPE_NORMAL _UIStatusBarStringView* _LOGOS_SELF_CONST, SEL, NSString *); static void _logos_method$_ungrouped$_UIStatusBarStringView$setText$(_LOGOS_SELF_TYPE_NORMAL _UIStatusBarStringView* _LOGOS_SELF_CONST, SEL, NSString *); static id (*_logos_orig$_ungrouped$_UIStatusBarTimeItem$applyUpdate$toDisplayItem$)(_LOGOS_SELF_TYPE_NORMAL _UIStatusBarTimeItem* _LOGOS_SELF_CONST, SEL, id, id); static id _logos_method$_ungrouped$_UIStatusBarTimeItem$applyUpdate$toDisplayItem$(_LOGOS_SELF_TYPE_NORMAL _UIStatusBarTimeItem* _LOGOS_SELF_CONST, SEL, id, id); static void (*_logos_orig$_ungrouped$_UIStatusBarBackgroundActivityView$setCenter$)(_LOGOS_SELF_TYPE_NORMAL _UIStatusBarBackgroundActivityView* _LOGOS_SELF_CONST, SEL, CGPoint); static void _logos_method$_ungrouped$_UIStatusBarBackgroundActivityView$setCenter$(_LOGOS_SELF_TYPE_NORMAL _UIStatusBarBackgroundActivityView* _LOGOS_SELF_CONST, SEL, CGPoint);
|
static void (*_logos_orig$_ungrouped$_UIStatusBarStringView$setText$)(_LOGOS_SELF_TYPE_NORMAL _UIStatusBarStringView* _LOGOS_SELF_CONST, SEL, NSString *); static void _logos_method$_ungrouped$_UIStatusBarStringView$setText$(_LOGOS_SELF_TYPE_NORMAL _UIStatusBarStringView* _LOGOS_SELF_CONST, SEL, NSString *); static id (*_logos_orig$_ungrouped$_UIStatusBarTimeItem$applyUpdate$toDisplayItem$)(_LOGOS_SELF_TYPE_NORMAL _UIStatusBarTimeItem* _LOGOS_SELF_CONST, SEL, id, id); static id _logos_method$_ungrouped$_UIStatusBarTimeItem$applyUpdate$toDisplayItem$(_LOGOS_SELF_TYPE_NORMAL _UIStatusBarTimeItem* _LOGOS_SELF_CONST, SEL, id, id); static void (*_logos_orig$_ungrouped$_UIStatusBarBackgroundActivityView$setCenter$)(_LOGOS_SELF_TYPE_NORMAL _UIStatusBarBackgroundActivityView* _LOGOS_SELF_CONST, SEL, CGPoint); static void _logos_method$_ungrouped$_UIStatusBarBackgroundActivityView$setCenter$(_LOGOS_SELF_TYPE_NORMAL _UIStatusBarBackgroundActivityView* _LOGOS_SELF_CONST, SEL, CGPoint);
|
||||||
|
|
||||||
#line 13 "Tweak.xm"
|
#line 13 "Tweak.xm"
|
||||||
|
@ -42,17 +42,17 @@ static void _logos_method$_ungrouped$_UIStatusBarStringView$setText$(_LOGOS_SELF
|
||||||
if(GetPrefBool(@"Enable") && ![text containsString:@"%"]) {
|
if(GetPrefBool(@"Enable") && ![text containsString:@"%"]) {
|
||||||
NSString *lineTwo = GetPrefString(@"lineTwo");
|
NSString *lineTwo = GetPrefString(@"lineTwo");
|
||||||
NSString *lineOne = GetPrefString(@"lineOne");
|
NSString *lineOne = GetPrefString(@"lineOne");
|
||||||
NSString *timeLineTwo;
|
NSString *timeLineTwo = lineTwo;
|
||||||
NSString *timeLineOne;
|
NSString *timeLineOne = lineOne;
|
||||||
|
|
||||||
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
|
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
|
||||||
NSDate *now = [NSDate date];
|
NSDate *now = [NSDate date];
|
||||||
if(!GetPrefBool(@"lineOneStandard")){
|
if(!GetPrefBool(@"lineTwoStandard")){
|
||||||
[dateFormatter setDateFormat:lineTwo];
|
[dateFormatter setDateFormat:lineTwo];
|
||||||
timeLineTwo = [dateFormatter stringFromDate:now];
|
timeLineTwo = [dateFormatter stringFromDate:now];
|
||||||
timeLineTwo = [timeLineTwo substringToIndex:[timeLineTwo length]];
|
timeLineTwo = [timeLineTwo substringToIndex:[timeLineTwo length]];
|
||||||
}
|
}
|
||||||
if(!GetPrefBool(@"lineTwoStandard")){
|
if(!GetPrefBool(@"lineOneStandard")){
|
||||||
[dateFormatter setDateFormat:lineOne];
|
[dateFormatter setDateFormat:lineOne];
|
||||||
timeLineOne = [dateFormatter stringFromDate:now];
|
timeLineOne = [dateFormatter stringFromDate:now];
|
||||||
timeLineOne = [timeLineOne substringToIndex:[timeLineOne length]];
|
timeLineOne = [timeLineOne substringToIndex:[timeLineOne length]];
|
||||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -1 +1 @@
|
||||||
18
|
20
|
8
Tweak.xm
8
Tweak.xm
|
@ -16,17 +16,17 @@ int sizeOfFont = GetPrefInt(@"sizeOfFont");
|
||||||
if(GetPrefBool(@"Enable") && ![text containsString:@"%"]) {
|
if(GetPrefBool(@"Enable") && ![text containsString:@"%"]) {
|
||||||
NSString *lineTwo = GetPrefString(@"lineTwo");
|
NSString *lineTwo = GetPrefString(@"lineTwo");
|
||||||
NSString *lineOne = GetPrefString(@"lineOne");
|
NSString *lineOne = GetPrefString(@"lineOne");
|
||||||
NSString *timeLineTwo;
|
NSString *timeLineTwo = lineTwo;
|
||||||
NSString *timeLineOne;
|
NSString *timeLineOne = lineOne;
|
||||||
|
|
||||||
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
|
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
|
||||||
NSDate *now = [NSDate date];
|
NSDate *now = [NSDate date];
|
||||||
if(!GetPrefBool(@"lineOneStandard")){
|
if(!GetPrefBool(@"lineTwoStandard")){
|
||||||
[dateFormatter setDateFormat:lineTwo];
|
[dateFormatter setDateFormat:lineTwo];
|
||||||
timeLineTwo = [dateFormatter stringFromDate:now];
|
timeLineTwo = [dateFormatter stringFromDate:now];
|
||||||
timeLineTwo = [timeLineTwo substringToIndex:[timeLineTwo length]];
|
timeLineTwo = [timeLineTwo substringToIndex:[timeLineTwo length]];
|
||||||
}
|
}
|
||||||
if(!GetPrefBool(@"lineTwoStandard")){
|
if(!GetPrefBool(@"lineOneStandard")){
|
||||||
[dateFormatter setDateFormat:lineOne];
|
[dateFormatter setDateFormat:lineOne];
|
||||||
timeLineOne = [dateFormatter stringFromDate:now];
|
timeLineOne = [dateFormatter stringFromDate:now];
|
||||||
timeLineOne = [timeLineOne substringToIndex:[timeLineOne length]];
|
timeLineOne = [timeLineOne substringToIndex:[timeLineOne length]];
|
||||||
|
|
BIN
packages/com.mpg13.undertime_1.3-19+debug_iphoneos-arm.deb
Normal file
BIN
packages/com.mpg13.undertime_1.3-19+debug_iphoneos-arm.deb
Normal file
Binary file not shown.
BIN
packages/com.mpg13.undertime_1.3-20+debug_iphoneos-arm.deb
Normal file
BIN
packages/com.mpg13.undertime_1.3-20+debug_iphoneos-arm.deb
Normal file
Binary file not shown.
Reference in a new issue