Ver código fonte

layout properly

master
Burrit0z 3 anos atrás
pai
commit
dfe38157b1
2 arquivos alterados com 8 adições e 0 exclusões
  1. +4
    -0
      Kai.h
  2. +4
    -0
      Kai.xm

+ 4
- 0
Kai.h Ver arquivo

@@ -33,6 +33,10 @@
+ (APEPlatter *)sharedInstance;
@end

@interface APEPlacceholder : UIView
+ (APEPlacceholder *)sharedInstance;
@end

@interface NCNotificationListView : UIView
- (void)fixComplicationsViewFrame;
@end

+ 4
- 0
Kai.xm Ver arquivo

@@ -23,6 +23,8 @@ CSAdjunctListView *list;
[[KAIBatteryPlatter sharedInstance] removeFromSuperview];
[[[cls sharedListViewForKai] stackView] removeArrangedSubview:[KAIBatteryPlatter sharedInstance]];

[[cls sharedListViewForKai] _layoutStackView];

return playing;
} else if(!playing && self.nowPlayingApplication == nil) {
// not playing and the app is nil
@@ -139,6 +141,8 @@ CSAdjunctListView *list;
[stack removeArrangedSubview:[KAIBatteryPlatter sharedInstance]];
[stack addArrangedSubview:[KAIBatteryPlatter sharedInstance]];
}

[self _layoutStackView];
}

%new

Carregando…
Cancelar
Salvar