Explorar el Código

w

pull/1/head
Burrit0z hace 4 años
padre
commit
c585ca04ba
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      Kai.xm

+ 2
- 2
Kai.xm Ver fichero

@@ -90,7 +90,6 @@ CGRect originalBattery;
setFrame = YES;
batteryWidget = self;
}
[self KaiUpdate];
}

%new
@@ -124,8 +123,9 @@ CGRect originalBattery;
}

-(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];
});
}
%end

Cargando…
Cancelar
Guardar