Fix compile error (#9449)

This commit is contained in:
Mikkel Nygaard Ravn 2017-04-18 22:05:36 +02:00 committed by GitHub
parent 115a04765e
commit d2efd189db

View File

@ -69,7 +69,7 @@
}
- (void)sendBatteryStateEvent {
if (!_eventReceiver) return;
if (!_eventSink) return;
UIDeviceBatteryState state = [[UIDevice currentDevice] batteryState];
switch (state) {
case UIDeviceBatteryStateFull: