mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-18 15:58:04 +00:00
Start update
This commit is contained in:
@ -6,4 +6,4 @@ import 'package:wakelock/wakelock.dart';
|
||||
|
||||
/// Interface for requesting device wake locking
|
||||
Future<void> setWakeLock(bool enabled) async =>
|
||||
await Wakelock.toggle(on: enabled);
|
||||
await Wakelock.toggle(enable: enabled);
|
||||
|
Reference in New Issue
Block a user