Add wake lock and optimization
This commit is contained in:
parent
e0f2bde919
commit
4ac4f1f892
8 changed files with 108 additions and 18 deletions
|
|
@ -32,6 +32,9 @@ class Preferences {
|
|||
},
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
static Future<void> migrate() async {
|
||||
if (Platform.isAndroid) {
|
||||
if (instance.get(interval) is String) {
|
||||
final stringValue = instance.getString(interval);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue