diff --git a/Kai.h b/Kai.h index 093ed7f..4840094 100755 --- a/Kai.h +++ b/Kai.h @@ -33,6 +33,10 @@ + (APEPlatter *)sharedInstance; @end +@interface APEPlacceholder : UIView ++ (APEPlacceholder *)sharedInstance; +@end + @interface NCNotificationListView : UIView - (void)fixComplicationsViewFrame; @end diff --git a/Kai.xm b/Kai.xm index 4a1cf0b..f8c23ff 100755 --- a/Kai.xm +++ b/Kai.xm @@ -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