Burrit0z 4 lat temu
rodzic
commit
c17e521190
1 zmienionych plików z 3 dodań i 0 usunięć
  1. +3
    -0
      KAIBatteryStack.mm

+ 3
- 0
KAIBatteryStack.mm Wyświetl plik

@@ -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);

Ładowanie…
Anuluj
Zapisz