mirror of
https://github.com/Burrit0z/kai
synced 2025-07-06 07:06:47 +00:00
fr
This commit is contained in:
3
Kai.xm
3
Kai.xm
@ -15,6 +15,9 @@
|
|||||||
//and insert into last slot.
|
//and insert into last slot.
|
||||||
[[self stackView] removeArrangedSubview:[KAIBatteryPlatter sharedInstance]];
|
[[self stackView] removeArrangedSubview:[KAIBatteryPlatter sharedInstance]];
|
||||||
[[self stackView] insertArrangedSubview:[KAIBatteryPlatter sharedInstance] atIndex:lastSlot];
|
[[self stackView] insertArrangedSubview:[KAIBatteryPlatter sharedInstance] atIndex:lastSlot];
|
||||||
|
} else if([[self stackView].subviews objectAtIndex:0] != [KAIBatteryPlatter sharedInstance] && !belowMusic) {
|
||||||
|
[[self stackView] removeArrangedSubview:[KAIBatteryPlatter sharedInstance]];
|
||||||
|
[[self stackView] insertArrangedSubview:[KAIBatteryPlatter sharedInstance] atIndex:0];
|
||||||
}
|
}
|
||||||
|
|
||||||
if([KAISelf.superview respondsToSelector:@selector(fixComplicationsViewFrame)]) {
|
if([KAISelf.superview respondsToSelector:@selector(fixComplicationsViewFrame)]) {
|
||||||
|
Reference in New Issue
Block a user