mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Fix compile error (#9449)
This commit is contained in:
parent
115a04765e
commit
d2efd189db
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user