mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 03:06:59 +08:00
pause on minimize
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -25,7 +25,8 @@ abstract class SettingBoxKey {
|
||||
enableAutoExit = 'enableAutoExit',
|
||||
enableOnlineTotal = 'enableOnlineTotal',
|
||||
showSuperChat = 'showSuperChat',
|
||||
keyboardControl = 'keyboardControl';
|
||||
keyboardControl = 'keyboardControl',
|
||||
pauseOnMinimize = 'pauseOnMinimize';
|
||||
|
||||
static const String enableVerticalExpand = 'enableVerticalExpand',
|
||||
feedBackEnable = 'feedBackEnable',
|
||||
|
||||
@@ -832,4 +832,7 @@ abstract class Pref {
|
||||
|
||||
static bool get keyboardControl =>
|
||||
_setting.get(SettingBoxKey.keyboardControl, defaultValue: true);
|
||||
|
||||
static bool get pauseOnMinimize =>
|
||||
_setting.get(SettingBoxKey.pauseOnMinimize, defaultValue: false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user