1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-19 00:05:16 +00:00

Create new plugins interface

This commit is contained in:
2020-04-24 12:19:13 +02:00
parent de84fb6113
commit ae391ab691
2 changed files with 2 additions and 2 deletions

View File

@ -1,9 +0,0 @@
import 'package:wakelock/wakelock.dart';
/// Device utilities
///
/// @author Pierre Hubert
/// Interface for requesting device wake locking
Future<void> setWakeLock(bool enabled) async =>
await Wakelock.toggle(on: enabled);