diff --git a/.theos/_/DEBIAN/control b/.theos/_/DEBIAN/control index 8656020..3257df0 100644 --- a/.theos/_/DEBIAN/control +++ b/.theos/_/DEBIAN/control @@ -8,5 +8,5 @@ Depiction: https://mpg13.github.io/repo/depicts/undertime.html Maintainer: MPG13 Author: MPG13 Section: Tweaks -Version: 1.3-18+debug +Version: 1.3-20+debug Installed-Size: 192 diff --git a/.theos/_/Library/MobileSubstrate/DynamicLibraries/UnderTime.dylib b/.theos/_/Library/MobileSubstrate/DynamicLibraries/UnderTime.dylib index fe4c89e..52f05f5 100755 Binary files a/.theos/_/Library/MobileSubstrate/DynamicLibraries/UnderTime.dylib and b/.theos/_/Library/MobileSubstrate/DynamicLibraries/UnderTime.dylib differ diff --git a/.theos/last_package b/.theos/last_package index 4fc6aea..2356882 100644 --- a/.theos/last_package +++ b/.theos/last_package @@ -1 +1 @@ -./packages/com.mpg13.undertime_1.3-18+debug_iphoneos-arm.deb +./packages/com.mpg13.undertime_1.3-20+debug_iphoneos-arm.deb diff --git a/.theos/obj/debug/UnderTime.dylib b/.theos/obj/debug/UnderTime.dylib index fe4c89e..52f05f5 100755 Binary files a/.theos/obj/debug/UnderTime.dylib and b/.theos/obj/debug/UnderTime.dylib differ diff --git a/.theos/obj/debug/arm64/Tweak.xm.41206041.o b/.theos/obj/debug/arm64/Tweak.xm.41206041.o index 4af37b8..f2e7e58 100644 Binary files a/.theos/obj/debug/arm64/Tweak.xm.41206041.o and b/.theos/obj/debug/arm64/Tweak.xm.41206041.o differ diff --git a/.theos/obj/debug/arm64/Tweak.xm.mm b/.theos/obj/debug/arm64/Tweak.xm.mm index 8acfb5a..3761361 100644 --- a/.theos/obj/debug/arm64/Tweak.xm.mm +++ b/.theos/obj/debug/arm64/Tweak.xm.mm @@ -32,7 +32,7 @@ int sizeOfFont = GetPrefInt(@"sizeOfFont"); #define _LOGOS_RETURN_RETAINED #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); #line 13 "Tweak.xm" @@ -42,17 +42,17 @@ static void _logos_method$_ungrouped$_UIStatusBarStringView$setText$(_LOGOS_SELF if(GetPrefBool(@"Enable") && ![text containsString:@"%"]) { NSString *lineTwo = GetPrefString(@"lineTwo"); NSString *lineOne = GetPrefString(@"lineOne"); - NSString *timeLineTwo; - NSString *timeLineOne; + NSString *timeLineTwo = lineTwo; + NSString *timeLineOne = lineOne; NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init]; NSDate *now = [NSDate date]; - if(!GetPrefBool(@"lineOneStandard")){ + if(!GetPrefBool(@"lineTwoStandard")){ [dateFormatter setDateFormat:lineTwo]; timeLineTwo = [dateFormatter stringFromDate:now]; timeLineTwo = [timeLineTwo substringToIndex:[timeLineTwo length]]; } - if(!GetPrefBool(@"lineTwoStandard")){ + if(!GetPrefBool(@"lineOneStandard")){ [dateFormatter setDateFormat:lineOne]; timeLineOne = [dateFormatter stringFromDate:now]; timeLineOne = [timeLineOne substringToIndex:[timeLineOne length]]; diff --git a/.theos/obj/debug/arm64/UnderTime.dylib b/.theos/obj/debug/arm64/UnderTime.dylib index 247e8c5..0644b8a 100755 Binary files a/.theos/obj/debug/arm64/UnderTime.dylib and b/.theos/obj/debug/arm64/UnderTime.dylib differ diff --git a/.theos/obj/debug/arm64/UnderTime.dylib.dSYM/Contents/Resources/DWARF/UnderTime.dylib b/.theos/obj/debug/arm64/UnderTime.dylib.dSYM/Contents/Resources/DWARF/UnderTime.dylib index 9e05b92..0184f7d 100644 Binary files a/.theos/obj/debug/arm64/UnderTime.dylib.dSYM/Contents/Resources/DWARF/UnderTime.dylib and b/.theos/obj/debug/arm64/UnderTime.dylib.dSYM/Contents/Resources/DWARF/UnderTime.dylib differ diff --git a/.theos/packages/com.mpg13.undertime-1.3 b/.theos/packages/com.mpg13.undertime-1.3 index 25bf17f..2edeafb 100644 --- a/.theos/packages/com.mpg13.undertime-1.3 +++ b/.theos/packages/com.mpg13.undertime-1.3 @@ -1 +1 @@ -18 \ No newline at end of file +20 \ No newline at end of file diff --git a/Tweak.xm b/Tweak.xm index 1999afc..5e158c4 100644 --- a/Tweak.xm +++ b/Tweak.xm @@ -16,17 +16,17 @@ int sizeOfFont = GetPrefInt(@"sizeOfFont"); if(GetPrefBool(@"Enable") && ![text containsString:@"%"]) { NSString *lineTwo = GetPrefString(@"lineTwo"); NSString *lineOne = GetPrefString(@"lineOne"); - NSString *timeLineTwo; - NSString *timeLineOne; + NSString *timeLineTwo = lineTwo; + NSString *timeLineOne = lineOne; NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init]; NSDate *now = [NSDate date]; - if(!GetPrefBool(@"lineOneStandard")){ + if(!GetPrefBool(@"lineTwoStandard")){ [dateFormatter setDateFormat:lineTwo]; timeLineTwo = [dateFormatter stringFromDate:now]; timeLineTwo = [timeLineTwo substringToIndex:[timeLineTwo length]]; } - if(!GetPrefBool(@"lineTwoStandard")){ + if(!GetPrefBool(@"lineOneStandard")){ [dateFormatter setDateFormat:lineOne]; timeLineOne = [dateFormatter stringFromDate:now]; timeLineOne = [timeLineOne substringToIndex:[timeLineOne length]]; diff --git a/packages/com.mpg13.undertime_1.3-19+debug_iphoneos-arm.deb b/packages/com.mpg13.undertime_1.3-19+debug_iphoneos-arm.deb new file mode 100644 index 0000000..21ce158 Binary files /dev/null and b/packages/com.mpg13.undertime_1.3-19+debug_iphoneos-arm.deb differ diff --git a/packages/com.mpg13.undertime_1.3-20+debug_iphoneos-arm.deb b/packages/com.mpg13.undertime_1.3-20+debug_iphoneos-arm.deb new file mode 100644 index 0000000..35edbd8 Binary files /dev/null and b/packages/com.mpg13.undertime_1.3-20+debug_iphoneos-arm.deb differ