1
0
镜像自地址 https://github.com/Burrit0z/kai 已同步 2026-03-27 00:27:19 +00:00

Update Kai.h

这个提交包含在:
2020-12-31 10:29:03 -05:00
父节点 dfe38157b1
当前提交 4e971ed592

3
Kai.h
查看文件

@ -149,11 +149,12 @@ static void preferencesChanged() {
static void applyPrefs() {
preferencesChanged();
Class cls = kCFCoreFoundationVersionNumber > 1600 ? ([objc_getClass("CSAdjunctListView") class]) : ([objc_getClass("SBDashBoardAdjunctListView") class]);
isUpdating = YES;
[[KAIBatteryPlatter sharedInstance] refreshForPrefs]; // so hard (not)
[(CSAdjunctListView *)([KAIBatteryPlatter sharedInstance].superview.superview) _layoutStackView];
[cls reorderKai];
[[NSNotificationCenter defaultCenter] postNotificationName:@"KaiResetOffset" object:nil userInfo:nil];
isUpdating = NO;