mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-05-11 18:36:11 +02:00
fix ci
This commit is contained in:
parent
1a0814b201
commit
5e920f0fd0
1 changed files with 3 additions and 3 deletions
|
@ -242,16 +242,16 @@ class _RemotePageState extends State<RemotePage> {
|
|||
}
|
||||
}
|
||||
|
||||
async void handleSoftKeyboardInput(String newValue) {
|
||||
Future<void> handleSoftKeyboardInput(String newValue) async {
|
||||
if (isIOS) {
|
||||
// fix: TextFormField onChanged event triggered multiple times when Korean input
|
||||
// https://github.com/rustdesk/rustdesk/pull/9644
|
||||
await Future.delayed(const Duration(milliseconds: 10));
|
||||
|
||||
if (newValue != _textController.text) return;
|
||||
return _handleIOSSoftKeyboardInput(_textController.text);
|
||||
_handleIOSSoftKeyboardInput(_textController.text);
|
||||
} else {
|
||||
return _handleNonIOSSoftKeyboardInput(newValue);
|
||||
_handleNonIOSSoftKeyboardInput(newValue);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue