tmp commit

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2023-11-28 23:57:48 +08:00
parent 19e8ca6c06
commit f11104fcb5
49 changed files with 296 additions and 46 deletions

View File

@@ -744,8 +744,7 @@ class FfiModel with ChangeNotifier {
}
// If current keyboard mode is not supported, change to another one.
if (stateGlobal.grabKeyboard) {
if (isInputSourceFlutter) {
for (final mode in [kKeyMapMode, kKeyLegacyMode]) {
if (bind.sessionIsKeyboardModeSupported(
sessionId: sessionId, mode: mode)) {