From 94343f1aafdc37be80de26fe94a19ac770fa0f71 Mon Sep 17 00:00:00 2001 From: Linfye <3158203624@qq.com> Date: Sun, 27 Oct 2024 20:43:56 +0800 Subject: [PATCH] Fix lint issues --- app/src/main/java/be/scri/services/SimpleKeyboardIME.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/be/scri/services/SimpleKeyboardIME.kt b/app/src/main/java/be/scri/services/SimpleKeyboardIME.kt index d4caa5d0..d9fba932 100644 --- a/app/src/main/java/be/scri/services/SimpleKeyboardIME.kt +++ b/app/src/main/java/be/scri/services/SimpleKeyboardIME.kt @@ -590,8 +590,7 @@ abstract class SimpleKeyboardIME( if (TextUtils.isEmpty(selectedText)) { if (isEmoji(wordBeforeCursor)) { inputConnection.deleteSurroundingText(2, 0) - } - else { + } else { inputConnection.deleteSurroundingText(1, 0) } } else {