feat: general wake lock (#347)

This commit is contained in:
lollipopkit
2024-05-07 15:48:08 +08:00
parent d0523c1e54
commit f70449d67d
9 changed files with 59 additions and 40 deletions

View File

@@ -2,9 +2,9 @@
class BuildData {
static const String name = "ServerBox";
static const int build = 877;
static const int build = 878;
static const String engine = "3.19.6";
static const String buildAt = "2024-05-07 15:17:19";
static const int modifications = 15;
static const String buildAt = "2024-05-07 15:22:39";
static const int modifications = 2;
static const int script = 45;
}

View File

@@ -273,8 +273,11 @@ class SettingStore extends PersistentStore {
late final collectUsage = property('collectUsage', true);
/// eg: ssh page
late final wakeLock = property('wakeLock', true);
/// general wake lock
late final generalWakeLock = property('generalWakeLock', false);
/// ssh page
late final sshWakeLock = property('sshWakeLock', true);
// Never show these settings for users
//