Commit d2efd189 authored by Mikkel Nygaard Ravn's avatar Mikkel Nygaard Ravn Committed by GitHub

Fix compile error (#9449)

parent 115a0476
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
} }
- (void)sendBatteryStateEvent { - (void)sendBatteryStateEvent {
if (!_eventReceiver) return; if (!_eventSink) return;
UIDeviceBatteryState state = [[UIDevice currentDevice] batteryState]; UIDeviceBatteryState state = [[UIDevice currentDevice] batteryState];
switch (state) { switch (state) {
case UIDeviceBatteryStateFull: case UIDeviceBatteryStateFull:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment