1
0
mirror of https://github.com/Burrit0z/kai synced 2025-07-03 13:46:47 +00:00

bro why am i trash

This commit is contained in:
Burrit0z
2020-05-24 18:43:00 -04:00
parent ef4eddb8b7
commit d8b6c9ed88
3 changed files with 39 additions and 38 deletions

6
Kai.xm
View File

@ -49,11 +49,11 @@
%new
-(void)KaiUpdate {
KAIBatteryStack *battery = [KAIBatteryStack sharedInstance];
battery.number = [battery.subviews count];
//battery.number = [battery.subviews count];
[UIView animateWithDuration:0.3 animations:^{
if(!battery.heightConstraint) {
/*if(!battery.heightConstraint) {
battery.heightConstraint.active = NO;
battery.heightConstraint = [battery.heightAnchor constraintEqualToConstant:85];
@ -69,7 +69,7 @@
UIStackView *s = [self stackView];
s.frame = CGRectMake(s.frame.origin.x, s.frame.origin.y, s.frame.size.width, (s.frame.size.height - 1));
//literally does nothing but makes the stack view lay itself out (doesnt adjust frame because translatesAutoreszingMaskIntoConstraints = NO on stack views)
}
}*/
}];