|
|
|
|
|
|
|
|
[[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 |