Add wake lock and optimization

This commit is contained in:
Anton Tananaev 2025-06-14 13:26:13 -07:00
parent e0f2bde919
commit 4ac4f1f892
8 changed files with 108 additions and 18 deletions

View file

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