mirror of
https://github.com/Burrit0z/kai
synced 2025-07-04 00:16:46 +00:00
working
This commit is contained in:
@ -97,7 +97,7 @@ long long lastPercentage;
|
|||||||
[self addSubview:label];
|
[self addSubview:label];
|
||||||
[self addSubview:battery];
|
[self addSubview:battery];
|
||||||
[self addSubview:glyphView];
|
[self addSubview:glyphView];
|
||||||
blank.alpha = 0.8;
|
//blank.alpha = 0.8;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
self.isUpdating = NO;
|
self.isUpdating = NO;
|
||||||
|
18
Kai.xm
18
Kai.xm
@ -13,7 +13,6 @@
|
|||||||
|
|
||||||
@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
|
||||||
|
|
||||||
@ -21,6 +20,9 @@
|
|||||||
-(void)KaiUpdate;
|
-(void)KaiUpdate;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
@interface _CSSingleBatteryChargingView : UIView
|
||||||
|
@end
|
||||||
|
|
||||||
BOOL setFrame = NO;
|
BOOL setFrame = NO;
|
||||||
CSMainPageView *batteryWidget;
|
CSMainPageView *batteryWidget;
|
||||||
CGRect original;
|
CGRect original;
|
||||||
@ -134,7 +136,19 @@ CGRect originalBattery;
|
|||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%hook CSScrollView
|
%hook _CSSingleBatteryChargingView
|
||||||
|
|
||||||
|
-(void)initWithFrame:(CGRect)arg1 {
|
||||||
|
%orig;
|
||||||
|
[self removeFromSuperview];
|
||||||
|
}
|
||||||
|
|
||||||
|
-(CGFloat)desiredVisibilityDuration {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
-(void)setBatteryVisible:(BOOL)arg1 {
|
||||||
|
%orig(NO);
|
||||||
|
}
|
||||||
|
|
||||||
%end
|
%end
|
Reference in New Issue
Block a user