Burrit0z 4 anni fa
parent
commit
c17e521190
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. +3
    -0
      KAIBatteryStack.mm

+ 3
- 0
KAIBatteryStack.mm Vedi File

@@ -114,6 +114,9 @@ long long lastPercentage;

} else {
int height = (self.number * (bannerHeight + spacing));
if([self.superview.subviews count]>1) {
height = (self.number * (bannerHeight + spacing)) - spacing;
}
self.heightConstraint.constant = height;

UIStackView *s = (UIStackView *)(self.superview);

Loading…
Annulla
Salva