|
|
@@ -13,7 +13,6 @@ |
|
|
|
|
|
|
|
@interface CSMainPageView : UIView |
|
|
|
@property (nonatomic, strong) KAIBattery *battery; |
|
|
|
-(void)updateForPresentation:(id)arg1; |
|
|
|
-(void)KaiUpdate; |
|
|
|
@end |
|
|
|
|
|
|
@@ -21,6 +20,9 @@ |
|
|
|
-(void)KaiUpdate; |
|
|
|
@end |
|
|
|
|
|
|
|
@interface _CSSingleBatteryChargingView : UIView |
|
|
|
@end |
|
|
|
|
|
|
|
BOOL setFrame = NO; |
|
|
|
CSMainPageView *batteryWidget; |
|
|
|
CGRect original; |
|
|
@@ -134,7 +136,19 @@ CGRect originalBattery; |
|
|
|
} |
|
|
|
%end |
|
|
|
|
|
|
|
%hook CSScrollView |
|
|
|
%hook _CSSingleBatteryChargingView |
|
|
|
|
|
|
|
-(void)initWithFrame:(CGRect)arg1 { |
|
|
|
%orig; |
|
|
|
[self removeFromSuperview]; |
|
|
|
} |
|
|
|
|
|
|
|
%end |
|
|
|
-(CGFloat)desiredVisibilityDuration { |
|
|
|
return 0; |
|
|
|
} |
|
|
|
|
|
|
|
-(void)setBatteryVisible:(BOOL)arg1 { |
|
|
|
%orig(NO); |
|
|
|
} |
|
|
|
|
|
|
|
%end |