cleaned prefs
This commit is contained in:
parent
23d8051023
commit
690c7ff133
16 changed files with 81 additions and 93 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.3-20+debug
|
||||
Version: 1.3-22+debug
|
||||
Installed-Size: 192
|
||||
|
|
Binary file not shown.
|
@ -12,14 +12,6 @@
|
|||
<key>label</key>
|
||||
<string>UnderTime</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>PSSwitchCell</string>
|
||||
|
@ -32,6 +24,15 @@
|
|||
<key>label</key>
|
||||
<string>Enable tweak</string>
|
||||
</dict>
|
||||
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
<key>label</key>
|
||||
<string>First Line</string>
|
||||
<key>height</key>
|
||||
<string>10</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSSwitchCell</string>
|
||||
|
@ -56,14 +57,6 @@
|
|||
<key>label</key>
|
||||
<string>First Line Standard String</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
<key>label</key>
|
||||
<string>First Line</string>
|
||||
<key>height</key>
|
||||
<string>10</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSEditTextCell</string>
|
||||
|
@ -74,6 +67,19 @@
|
|||
<key>key</key>
|
||||
<string>lineOne</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSSwitchCell</string>
|
||||
<key>default</key>
|
||||
<false/>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.undertime</string>
|
||||
<key>key</key>
|
||||
<string>replaceTime</string>
|
||||
<key>label</key>
|
||||
<string>First Line Only</string>
|
||||
</dict>
|
||||
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
|
@ -110,6 +116,7 @@
|
|||
<key>label</key>
|
||||
<string>Use nsdateformatter.com to help you format your date!</string>
|
||||
</dict>
|
||||
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
|
@ -134,26 +141,15 @@
|
|||
<key>showValue</key>
|
||||
<true/>
|
||||
</dict>
|
||||
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
<key>label</key>
|
||||
<string>Replace the date with the time</string>
|
||||
<string> </string>
|
||||
<key>height</key>
|
||||
<string>10</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSSwitchCell</string>
|
||||
<key>default</key>
|
||||
<false/>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.undertime</string>
|
||||
<key>key</key>
|
||||
<string>replaceTime</string>
|
||||
<key>label</key>
|
||||
<string>Replace Time</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>action</key>
|
||||
<string>respring</string>
|
||||
|
|
Binary file not shown.
|
@ -1 +1 @@
|
|||
./packages/com.mpg13.undertime_1.3-20+debug_iphoneos-arm.deb
|
||||
./packages/com.mpg13.undertime_1.3-22+debug_iphoneos-arm.deb
|
||||
|
|
|
@ -12,14 +12,6 @@
|
|||
<key>label</key>
|
||||
<string>UnderTime</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>PSSwitchCell</string>
|
||||
|
@ -32,6 +24,15 @@
|
|||
<key>label</key>
|
||||
<string>Enable tweak</string>
|
||||
</dict>
|
||||
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
<key>label</key>
|
||||
<string>First Line</string>
|
||||
<key>height</key>
|
||||
<string>10</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSSwitchCell</string>
|
||||
|
@ -56,14 +57,6 @@
|
|||
<key>label</key>
|
||||
<string>First Line Standard String</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
<key>label</key>
|
||||
<string>First Line</string>
|
||||
<key>height</key>
|
||||
<string>10</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSEditTextCell</string>
|
||||
|
@ -74,6 +67,19 @@
|
|||
<key>key</key>
|
||||
<string>lineOne</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSSwitchCell</string>
|
||||
<key>default</key>
|
||||
<false/>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.undertime</string>
|
||||
<key>key</key>
|
||||
<string>replaceTime</string>
|
||||
<key>label</key>
|
||||
<string>First Line Only</string>
|
||||
</dict>
|
||||
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
|
@ -110,6 +116,7 @@
|
|||
<key>label</key>
|
||||
<string>Use nsdateformatter.com to help you format your date!</string>
|
||||
</dict>
|
||||
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
|
@ -134,26 +141,15 @@
|
|||
<key>showValue</key>
|
||||
<true/>
|
||||
</dict>
|
||||
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
<key>label</key>
|
||||
<string>Replace the date with the time</string>
|
||||
<string> </string>
|
||||
<key>height</key>
|
||||
<string>10</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSSwitchCell</string>
|
||||
<key>default</key>
|
||||
<false/>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.undertime</string>
|
||||
<key>key</key>
|
||||
<string>replaceTime</string>
|
||||
<key>label</key>
|
||||
<string>Replace Time</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>action</key>
|
||||
<string>respring</string>
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -32,7 +32,7 @@ int sizeOfFont = GetPrefInt(@"sizeOfFont");
|
|||
#define _LOGOS_RETURN_RETAINED
|
||||
#endif
|
||||
|
||||
@class _UIStatusBarTimeItem; @class _UIStatusBarStringView; @class _UIStatusBarBackgroundActivityView;
|
||||
@class _UIStatusBarBackgroundActivityView; @class _UIStatusBarStringView; @class _UIStatusBarTimeItem;
|
||||
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"
|
||||
|
@ -67,7 +67,7 @@ static void _logos_method$_ungrouped$_UIStatusBarStringView$setText$(_LOGOS_SELF
|
|||
|
||||
[self setFont: [self.font fontWithSize:sizeOfFont]];
|
||||
if(GetPrefBool(@"replaceTime")){
|
||||
_logos_orig$_ungrouped$_UIStatusBarStringView$setText$(self, _cmd, timeLineTwo);
|
||||
_logos_orig$_ungrouped$_UIStatusBarStringView$setText$(self, _cmd, timeLineOne);
|
||||
}
|
||||
else{
|
||||
self.textAlignment = 1;
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1 +1 @@
|
|||
20
|
||||
22
|
2
Tweak.xm
2
Tweak.xm
|
@ -41,7 +41,7 @@ int sizeOfFont = GetPrefInt(@"sizeOfFont");
|
|||
|
||||
[self setFont: [self.font fontWithSize:sizeOfFont]];
|
||||
if(GetPrefBool(@"replaceTime")){
|
||||
%orig(timeLineTwo);
|
||||
%orig(timeLineOne);
|
||||
}
|
||||
else{
|
||||
self.textAlignment = 1;
|
||||
|
|
|
@ -12,14 +12,6 @@
|
|||
<key>label</key>
|
||||
<string>UnderTime</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>PSSwitchCell</string>
|
||||
|
@ -32,6 +24,15 @@
|
|||
<key>label</key>
|
||||
<string>Enable tweak</string>
|
||||
</dict>
|
||||
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
<key>label</key>
|
||||
<string>First Line</string>
|
||||
<key>height</key>
|
||||
<string>10</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSSwitchCell</string>
|
||||
|
@ -56,14 +57,6 @@
|
|||
<key>label</key>
|
||||
<string>First Line Standard String</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
<key>label</key>
|
||||
<string>First Line</string>
|
||||
<key>height</key>
|
||||
<string>10</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSEditTextCell</string>
|
||||
|
@ -74,6 +67,19 @@
|
|||
<key>key</key>
|
||||
<string>lineOne</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSSwitchCell</string>
|
||||
<key>default</key>
|
||||
<false/>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.undertime</string>
|
||||
<key>key</key>
|
||||
<string>replaceTime</string>
|
||||
<key>label</key>
|
||||
<string>First Line Only</string>
|
||||
</dict>
|
||||
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
|
@ -110,6 +116,7 @@
|
|||
<key>label</key>
|
||||
<string>Use nsdateformatter.com to help you format your date!</string>
|
||||
</dict>
|
||||
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
|
@ -134,26 +141,15 @@
|
|||
<key>showValue</key>
|
||||
<true/>
|
||||
</dict>
|
||||
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
<key>label</key>
|
||||
<string>Replace the date with the time</string>
|
||||
<string> </string>
|
||||
<key>height</key>
|
||||
<string>10</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSSwitchCell</string>
|
||||
<key>default</key>
|
||||
<false/>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.undertime</string>
|
||||
<key>key</key>
|
||||
<string>replaceTime</string>
|
||||
<key>label</key>
|
||||
<string>Replace Time</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>action</key>
|
||||
<string>respring</string>
|
||||
|
|
Reference in a new issue