fix abnormal backspace issue reported from google play

This commit is contained in:
rustdesk 2021-09-01 01:48:41 +08:00
parent ce3e9ce8d6
commit b2c8c247b2

View File

@ -158,7 +158,9 @@ class _RemotePageState extends State<RemotePage> {
// 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 {