mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-09-19 05:48:54 +00:00
Create new plugins interface
This commit is contained in:
@@ -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);
|
Reference in New Issue
Block a user