From b2c8c247b20e36980c907bcd8e02fc38a54c9110 Mon Sep 17 00:00:00 2001 From: rustdesk Date: Wed, 1 Sep 2021 01:48:41 +0800 Subject: [PATCH] fix abnormal backspace issue reported from google play --- lib/remote_page.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/remote_page.dart b/lib/remote_page.dart index ca728b94b..5fdaac60e 100644 --- a/lib/remote_page.dart +++ b/lib/remote_page.dart @@ -158,7 +158,9 @@ class _RemotePageState extends State { // clipboard oldValue = ''; } - if (newValue.length <= oldValue.length) { + if (newValue.length == oldValue.length) { + // ? + } else if (newValue.length < oldValue.length) { final char = 'VK_BACK'; FFI.inputKey(char); } else {