Browse Source

w

pull/1/head
Burrit0z 4 years ago
parent
commit
c585ca04ba
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      Kai.xm

+ 2
- 2
Kai.xm View File

setFrame = YES; setFrame = YES;
batteryWidget = self; batteryWidget = self;
} }
[self KaiUpdate];
} }


%new %new
} }


-(void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context{ -(void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context{
NSLog(@"It works");
dispatch_async(dispatch_get_main_queue(), ^{
[[NSNotificationCenter defaultCenter] postNotificationName:@"KaiInfoChanged" object:nil userInfo:nil]; [[NSNotificationCenter defaultCenter] postNotificationName:@"KaiInfoChanged" object:nil userInfo:nil];
});
} }
%end %end

Loading…
Cancel
Save