mirror of
				https://github.com/Burrit0z/kai
				synced 2025-11-04 05:06:19 +00:00 
			
		
		
		
	w
This commit is contained in:
		
							
								
								
									
										4
									
								
								Kai.xm
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								Kai.xm
									
									
									
									
									
								
							@ -90,7 +90,6 @@ CGRect originalBattery;
 | 
				
			|||||||
		setFrame = YES;
 | 
							setFrame = YES;
 | 
				
			||||||
		batteryWidget = self;
 | 
							batteryWidget = self;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	[self KaiUpdate];
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
%new 
 | 
					%new 
 | 
				
			||||||
@ -124,8 +123,9 @@ CGRect originalBattery;
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
-(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
 | 
				
			||||||
		Reference in New Issue
	
	Block a user