From 5e920f0fd048e7e49046a17f833657a26d4c001a Mon Sep 17 00:00:00 2001 From: rustdesk Date: Wed, 16 Oct 2024 22:37:03 +0800 Subject: [PATCH] fix ci --- flutter/lib/mobile/pages/remote_page.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flutter/lib/mobile/pages/remote_page.dart b/flutter/lib/mobile/pages/remote_page.dart index e8a888696..0072a2608 100644 --- a/flutter/lib/mobile/pages/remote_page.dart +++ b/flutter/lib/mobile/pages/remote_page.dart @@ -242,16 +242,16 @@ class _RemotePageState extends State { } } - async void handleSoftKeyboardInput(String newValue) { + Future 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); } }