}]; | }]; | ||||
self.stackHolder.frame = self.frame; | |||||
} | } | ||||
-(void)refreshForPrefs { | -(void)refreshForPrefs { |
-(void)setPercentCharge:(NSInteger)arg1 { | -(void)setPercentCharge:(NSInteger)arg1 { | ||||
//sends the noti to update battery info | //sends the noti to update battery info | ||||
if(arg1!=0) { | |||||
[[NSNotificationCenter defaultCenter] postNotificationName:@"KaiInfoChanged" object:nil userInfo:nil]; | [[NSNotificationCenter defaultCenter] postNotificationName:@"KaiInfoChanged" object:nil userInfo:nil]; | ||||
} | |||||
%orig; | %orig; | ||||
} | } | ||||