diff --git a/lib/entities/wake_lock.dart b/lib/entities/wake_lock.dart index 784f59c85..99acc65ee 100644 --- a/lib/entities/wake_lock.dart +++ b/lib/entities/wake_lock.dart @@ -5,7 +5,7 @@ class WakeLock { Future enableWake() async { try { - await _utils.invokeMethod('enableWakeScreen'); + await _utils.invokeMethod('enableWakeScreen'); } on PlatformException catch (_) { print('Failed enabling screen wakelock'); } @@ -13,7 +13,7 @@ class WakeLock { Future disableWake() async { try { - await _utils.invokeMethod('disableWakeScreen'); + await _utils.invokeMethod('disableWakeScreen'); } on PlatformException catch (_) { print('Failed enabling screen wakelock'); }