mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-09-19 05:48:54 +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