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