瀏覽代碼

layout properly

master
Burrit0z 4 年之前
父節點
當前提交
dfe38157b1
共有 2 個檔案被更改,包括 8 行新增0 行删除
  1. +4
    -0
      Kai.h
  2. +4
    -0
      Kai.xm

+ 4
- 0
Kai.h 查看文件

+ (APEPlatter *)sharedInstance; + (APEPlatter *)sharedInstance;
@end @end


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

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

+ 4
- 0
Kai.xm 查看文件

[[KAIBatteryPlatter sharedInstance] removeFromSuperview]; [[KAIBatteryPlatter sharedInstance] removeFromSuperview];
[[[cls sharedListViewForKai] stackView] removeArrangedSubview:[KAIBatteryPlatter sharedInstance]]; [[[cls sharedListViewForKai] stackView] removeArrangedSubview:[KAIBatteryPlatter sharedInstance]];


[[cls sharedListViewForKai] _layoutStackView];

return playing; return playing;
} else if(!playing && self.nowPlayingApplication == nil) { } else if(!playing && self.nowPlayingApplication == nil) {
// not playing and the app is nil // not playing and the app is nil
[stack removeArrangedSubview:[KAIBatteryPlatter sharedInstance]]; [stack removeArrangedSubview:[KAIBatteryPlatter sharedInstance]];
[stack addArrangedSubview:[KAIBatteryPlatter sharedInstance]]; [stack addArrangedSubview:[KAIBatteryPlatter sharedInstance]];
} }

[self _layoutStackView];
} }


%new %new

Loading…
取消
儲存