diff --git a/KAIBatteryStack.mm b/KAIBatteryStack.mm index 3401881..ab6985e 100755 --- a/KAIBatteryStack.mm +++ b/KAIBatteryStack.mm @@ -113,7 +113,7 @@ long long lastPercentage; self.heightConstraint.active = YES; } else { - int height = (self.number * (bannerHeight + spacing)) - spacing; + int height = (self.number * (bannerHeight + spacing)); self.heightConstraint.constant = height; UIStackView *s = (UIStackView *)(self.superview);