Browse Source

Update Kai.h

master
Burrit0z 3 years ago
parent
commit
4e971ed592
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      Kai.h

+ 2
- 1
Kai.h View File



static void applyPrefs() { static void applyPrefs() {
preferencesChanged(); preferencesChanged();
Class cls = kCFCoreFoundationVersionNumber > 1600 ? ([objc_getClass("CSAdjunctListView") class]) : ([objc_getClass("SBDashBoardAdjunctListView") class]);


isUpdating = YES; isUpdating = YES;


[[KAIBatteryPlatter sharedInstance] refreshForPrefs]; // so hard (not) [[KAIBatteryPlatter sharedInstance] refreshForPrefs]; // so hard (not)
[(CSAdjunctListView *)([KAIBatteryPlatter sharedInstance].superview.superview) _layoutStackView];
[cls reorderKai];
[[NSNotificationCenter defaultCenter] postNotificationName:@"KaiResetOffset" object:nil userInfo:nil]; [[NSNotificationCenter defaultCenter] postNotificationName:@"KaiResetOffset" object:nil userInfo:nil];


isUpdating = NO; isUpdating = NO;

Loading…
Cancel
Save