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:
@ -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) {
|
||||
|
||||
|
Reference in New Issue
Block a user