cleaned prefs

This commit is contained in:
MPG13 2018-05-29 09:11:04 -06:00
parent 23d8051023
commit 690c7ff133
16 changed files with 81 additions and 93 deletions

View file

@ -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-20+debug Version: 1.3-22+debug
Installed-Size: 192 Installed-Size: 192

View file

@ -12,14 +12,6 @@
<key>label</key> <key>label</key>
<string>UnderTime</string> <string>UnderTime</string>
</dict> </dict>
<dict>
<key>cell</key>
<string>PSGroupCell</string>
<key>label</key>
<string> </string>
<key>height</key>
<string>10</string>
</dict>
<dict> <dict>
<key>cell</key> <key>cell</key>
<string>PSSwitchCell</string> <string>PSSwitchCell</string>
@ -32,6 +24,15 @@
<key>label</key> <key>label</key>
<string>Enable tweak</string> <string>Enable tweak</string>
</dict> </dict>
<dict>
<key>cell</key>
<string>PSGroupCell</string>
<key>label</key>
<string>First Line</string>
<key>height</key>
<string>10</string>
</dict>
<dict> <dict>
<key>cell</key> <key>cell</key>
<string>PSSwitchCell</string> <string>PSSwitchCell</string>
@ -56,14 +57,6 @@
<key>label</key> <key>label</key>
<string>First Line Standard String</string> <string>First Line Standard String</string>
</dict> </dict>
<dict>
<key>cell</key>
<string>PSGroupCell</string>
<key>label</key>
<string>First Line</string>
<key>height</key>
<string>10</string>
</dict>
<dict> <dict>
<key>cell</key> <key>cell</key>
<string>PSEditTextCell</string> <string>PSEditTextCell</string>
@ -74,6 +67,19 @@
<key>key</key> <key>key</key>
<string>lineOne</string> <string>lineOne</string>
</dict> </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> <dict>
<key>cell</key> <key>cell</key>
<string>PSGroupCell</string> <string>PSGroupCell</string>
@ -110,6 +116,7 @@
<key>label</key> <key>label</key>
<string>Use nsdateformatter.com to help you format your date!</string> <string>Use nsdateformatter.com to help you format your date!</string>
</dict> </dict>
<dict> <dict>
<key>cell</key> <key>cell</key>
<string>PSGroupCell</string> <string>PSGroupCell</string>
@ -134,26 +141,15 @@
<key>showValue</key> <key>showValue</key>
<true/> <true/>
</dict> </dict>
<dict> <dict>
<key>cell</key> <key>cell</key>
<string>PSGroupCell</string> <string>PSGroupCell</string>
<key>label</key> <key>label</key>
<string>Replace the date with the time</string> <string> </string>
<key>height</key> <key>height</key>
<string>10</string> <string>10</string>
</dict> </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> <dict>
<key>action</key> <key>action</key>
<string>respring</string> <string>respring</string>

View file

@ -1 +1 @@
./packages/com.mpg13.undertime_1.3-20+debug_iphoneos-arm.deb ./packages/com.mpg13.undertime_1.3-22+debug_iphoneos-arm.deb

View file

@ -12,14 +12,6 @@
<key>label</key> <key>label</key>
<string>UnderTime</string> <string>UnderTime</string>
</dict> </dict>
<dict>
<key>cell</key>
<string>PSGroupCell</string>
<key>label</key>
<string> </string>
<key>height</key>
<string>10</string>
</dict>
<dict> <dict>
<key>cell</key> <key>cell</key>
<string>PSSwitchCell</string> <string>PSSwitchCell</string>
@ -32,6 +24,15 @@
<key>label</key> <key>label</key>
<string>Enable tweak</string> <string>Enable tweak</string>
</dict> </dict>
<dict>
<key>cell</key>
<string>PSGroupCell</string>
<key>label</key>
<string>First Line</string>
<key>height</key>
<string>10</string>
</dict>
<dict> <dict>
<key>cell</key> <key>cell</key>
<string>PSSwitchCell</string> <string>PSSwitchCell</string>
@ -56,14 +57,6 @@
<key>label</key> <key>label</key>
<string>First Line Standard String</string> <string>First Line Standard String</string>
</dict> </dict>
<dict>
<key>cell</key>
<string>PSGroupCell</string>
<key>label</key>
<string>First Line</string>
<key>height</key>
<string>10</string>
</dict>
<dict> <dict>
<key>cell</key> <key>cell</key>
<string>PSEditTextCell</string> <string>PSEditTextCell</string>
@ -74,6 +67,19 @@
<key>key</key> <key>key</key>
<string>lineOne</string> <string>lineOne</string>
</dict> </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> <dict>
<key>cell</key> <key>cell</key>
<string>PSGroupCell</string> <string>PSGroupCell</string>
@ -110,6 +116,7 @@
<key>label</key> <key>label</key>
<string>Use nsdateformatter.com to help you format your date!</string> <string>Use nsdateformatter.com to help you format your date!</string>
</dict> </dict>
<dict> <dict>
<key>cell</key> <key>cell</key>
<string>PSGroupCell</string> <string>PSGroupCell</string>
@ -134,26 +141,15 @@
<key>showValue</key> <key>showValue</key>
<true/> <true/>
</dict> </dict>
<dict> <dict>
<key>cell</key> <key>cell</key>
<string>PSGroupCell</string> <string>PSGroupCell</string>
<key>label</key> <key>label</key>
<string>Replace the date with the time</string> <string> </string>
<key>height</key> <key>height</key>
<string>10</string> <string>10</string>
</dict> </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> <dict>
<key>action</key> <key>action</key>
<string>respring</string> <string>respring</string>

Binary file not shown.

View file

@ -32,7 +32,7 @@ int sizeOfFont = GetPrefInt(@"sizeOfFont");
#define _LOGOS_RETURN_RETAINED #define _LOGOS_RETURN_RETAINED
#endif #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); 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"
@ -67,7 +67,7 @@ static void _logos_method$_ungrouped$_UIStatusBarStringView$setText$(_LOGOS_SELF
[self setFont: [self.font fontWithSize:sizeOfFont]]; [self setFont: [self.font fontWithSize:sizeOfFont]];
if(GetPrefBool(@"replaceTime")){ if(GetPrefBool(@"replaceTime")){
_logos_orig$_ungrouped$_UIStatusBarStringView$setText$(self, _cmd, timeLineTwo); _logos_orig$_ungrouped$_UIStatusBarStringView$setText$(self, _cmd, timeLineOne);
} }
else{ else{
self.textAlignment = 1; self.textAlignment = 1;

View file

@ -1 +1 @@
20 22

View file

@ -41,7 +41,7 @@ int sizeOfFont = GetPrefInt(@"sizeOfFont");
[self setFont: [self.font fontWithSize:sizeOfFont]]; [self setFont: [self.font fontWithSize:sizeOfFont]];
if(GetPrefBool(@"replaceTime")){ if(GetPrefBool(@"replaceTime")){
%orig(timeLineTwo); %orig(timeLineOne);
} }
else{ else{
self.textAlignment = 1; self.textAlignment = 1;

View file

@ -12,14 +12,6 @@
<key>label</key> <key>label</key>
<string>UnderTime</string> <string>UnderTime</string>
</dict> </dict>
<dict>
<key>cell</key>
<string>PSGroupCell</string>
<key>label</key>
<string> </string>
<key>height</key>
<string>10</string>
</dict>
<dict> <dict>
<key>cell</key> <key>cell</key>
<string>PSSwitchCell</string> <string>PSSwitchCell</string>
@ -32,6 +24,15 @@
<key>label</key> <key>label</key>
<string>Enable tweak</string> <string>Enable tweak</string>
</dict> </dict>
<dict>
<key>cell</key>
<string>PSGroupCell</string>
<key>label</key>
<string>First Line</string>
<key>height</key>
<string>10</string>
</dict>
<dict> <dict>
<key>cell</key> <key>cell</key>
<string>PSSwitchCell</string> <string>PSSwitchCell</string>
@ -56,14 +57,6 @@
<key>label</key> <key>label</key>
<string>First Line Standard String</string> <string>First Line Standard String</string>
</dict> </dict>
<dict>
<key>cell</key>
<string>PSGroupCell</string>
<key>label</key>
<string>First Line</string>
<key>height</key>
<string>10</string>
</dict>
<dict> <dict>
<key>cell</key> <key>cell</key>
<string>PSEditTextCell</string> <string>PSEditTextCell</string>
@ -74,6 +67,19 @@
<key>key</key> <key>key</key>
<string>lineOne</string> <string>lineOne</string>
</dict> </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> <dict>
<key>cell</key> <key>cell</key>
<string>PSGroupCell</string> <string>PSGroupCell</string>
@ -110,6 +116,7 @@
<key>label</key> <key>label</key>
<string>Use nsdateformatter.com to help you format your date!</string> <string>Use nsdateformatter.com to help you format your date!</string>
</dict> </dict>
<dict> <dict>
<key>cell</key> <key>cell</key>
<string>PSGroupCell</string> <string>PSGroupCell</string>
@ -134,26 +141,15 @@
<key>showValue</key> <key>showValue</key>
<true/> <true/>
</dict> </dict>
<dict> <dict>
<key>cell</key> <key>cell</key>
<string>PSGroupCell</string> <string>PSGroupCell</string>
<key>label</key> <key>label</key>
<string>Replace the date with the time</string> <string> </string>
<key>height</key> <key>height</key>
<string>10</string> <string>10</string>
</dict> </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> <dict>
<key>action</key> <key>action</key>
<string>respring</string> <string>respring</string>