mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-05 01:27:49 +08:00
set system brightness
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -142,7 +142,8 @@ abstract class SettingBoxKey {
|
||||
silentDownImg = 'silentDownImg',
|
||||
showMemberShop = 'showMemberShop',
|
||||
enablePlayAll = 'enablePlayAll',
|
||||
enableTapDm = 'enableTapDm';
|
||||
enableTapDm = 'enableTapDm',
|
||||
setSystemBrightness = 'setSystemBrightness';
|
||||
|
||||
static const String minimizeOnExit = 'minimizeOnExit',
|
||||
windowSize = 'windowSize',
|
||||
|
||||
@@ -865,4 +865,7 @@ abstract class Pref {
|
||||
|
||||
static bool get showTrayIcon =>
|
||||
_setting.get(SettingBoxKey.showTrayIcon, defaultValue: true);
|
||||
|
||||
static bool get setSystemBrightness =>
|
||||
_setting.get(SettingBoxKey.setSystemBrightness, defaultValue: false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user