battery.heightConstraint.active = YES; | battery.heightConstraint.active = YES; | ||||
} else { | } else { | ||||
int height = (battery.number * ((bannerHeight + spacing) - spacing + 5)); | |||||
int height = ((battery.number * (bannerHeight + spacing)) - spacing + 5); | |||||
battery.heightConstraint.active = NO; | battery.heightConstraint.active = NO; | ||||
battery.heightConstraint.constant = height; | battery.heightConstraint.constant = height; | ||||
battery.heightConstraint.active = YES; | battery.heightConstraint.active = YES; |
Package: com.burritoz.kai | Package: com.burritoz.kai | ||||
Name: Kai | Name: Kai | ||||
Version: 0.1.2~alpha | |||||
Version: 0.1.3~alpha | |||||
Architecture: iphoneos-arm | Architecture: iphoneos-arm | ||||
Description: Show charging banners on your lock screen! | Description: Show charging banners on your lock screen! | ||||
Maintainer: burrit0z | Maintainer: burrit0z |