custom keyboard control

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-09-18 18:20:23 +08:00
parent 2d625e0241
commit 9c552a89e1
6 changed files with 46 additions and 31 deletions

View File

@@ -24,7 +24,8 @@ abstract class SettingBoxKey {
enableAutoEnter = 'enableAutoEnter',
enableAutoExit = 'enableAutoExit',
enableOnlineTotal = 'enableOnlineTotal',
showSuperChat = 'showSuperChat';
showSuperChat = 'showSuperChat',
keyboardControl = 'keyboardControl';
static const String enableVerticalExpand = 'enableVerticalExpand',
feedBackEnable = 'feedBackEnable',

View File

@@ -829,4 +829,7 @@ abstract class Pref {
static bool get isWindowMaximized =>
_setting.get(SettingBoxKey.isWindowMaximized, defaultValue: false);
static bool get keyboardControl =>
_setting.get(SettingBoxKey.keyboardControl, defaultValue: true);
}