1
0
mirror of https://github.com/Burrit0z/kai synced 2025-07-17 01:56:48 +00:00

alpha 0.9.9 2

This commit is contained in:
Burrit0z
2020-05-30 10:28:10 -04:00
parent cbbbb6c827
commit 846e54966f
4 changed files with 17 additions and 53 deletions

View File

@ -176,18 +176,18 @@
self.battery.chargePercent = (batteryPercentage*0.01);
[self.glyphView setImage:[self.device glyph]];
[self.heightAnchor constraintEqualToConstant:(bannerHeight)].active = YES;
//[self.heightAnchor constraintEqualToConstant:(bannerHeight + spacing)].active = YES;
/*if(!self.height) {
if(!self.height) {
self.height.active = NO;
self.height = [self.heightAnchor constraintEqualToConstant:(bannerHeight + spacing)];
self.height.active = YES;
}*/ //else {
//int height = (bannerHeight + spacing);
//self.height.constant = height;
//}
} else {
int height = (bannerHeight + spacing);
self.height.constant = height;
}
if(!self.width) {