diff --git a/.theos/last_package b/.theos/last_package index d70d92a..9c6ca22 100644 --- a/.theos/last_package +++ b/.theos/last_package @@ -1 +1 @@ -./packages/com.mpg13.undertime_1.4.1-4+debug_iphoneos-arm.deb +./packages/com.mpg13.undertime_1.4.1-31+debug_iphoneos-arm.deb diff --git a/.theos/packages/com.mpg13.undertime-1.4.1 b/.theos/packages/com.mpg13.undertime-1.4.1 index bf0d87a..b74e882 100644 --- a/.theos/packages/com.mpg13.undertime-1.4.1 +++ b/.theos/packages/com.mpg13.undertime-1.4.1 @@ -1 +1 @@ -4 \ No newline at end of file +31 \ No newline at end of file diff --git a/Tweak.xm b/Tweak.xm index e05222a..d0e244f 100644 --- a/Tweak.xm +++ b/Tweak.xm @@ -187,15 +187,8 @@ static void udtTimerLoad(){ [formatter setDateFormat:@"yyyy/MM/dd HH:mm:ss"]; [formatter setTimeZone:[NSTimeZone defaultTimeZone]]; - if ([NSThread isMainThread]) { - [udtTimer scheduleInRunLoop:[NSRunLoop mainRunLoop]]; - } else { - dispatch_async(dispatch_get_main_queue(), ^ { - [udtTimer scheduleInRunLoop:[NSRunLoop mainRunLoop]]; - }); + [udtTimer scheduleInRunLoop:[NSRunLoop mainRunLoop]]; } - -}