1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-18 15:58:04 +00:00

Start update

This commit is contained in:
2021-02-07 17:09:08 +01:00
parent df915e1ca3
commit ee6e28426c
39 changed files with 163 additions and 110 deletions

View File

@ -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);