From fc196d62f944f0e54eb528641f81257d3e4b9f96 Mon Sep 17 00:00:00 2001 From: iPel Date: Thu, 16 Nov 2023 14:37:31 +0800 Subject: [PATCH] refactor(android): remove unnecessary comment --- .../mtt/hippy/views/textinput/HippyTextInputController.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/renderer/native/android/src/main/java/com/tencent/mtt/hippy/views/textinput/HippyTextInputController.java b/renderer/native/android/src/main/java/com/tencent/mtt/hippy/views/textinput/HippyTextInputController.java index 95c9b431fc7..0115a556031 100644 --- a/renderer/native/android/src/main/java/com/tencent/mtt/hippy/views/textinput/HippyTextInputController.java +++ b/renderer/native/android/src/main/java/com/tencent/mtt/hippy/views/textinput/HippyTextInputController.java @@ -162,26 +162,21 @@ public void setReturnKeyType(HippyTextInput view, String returnKeyType) { break; case "next": returnKeyFlag = EditorInfo.IME_ACTION_NEXT; - // view.setSingleLine(true); break; case "none": returnKeyFlag = EditorInfo.IME_ACTION_NONE; break; case "previous": returnKeyFlag = EditorInfo.IME_ACTION_PREVIOUS; - // view.setSingleLine(true); break; case "search": returnKeyFlag = EditorInfo.IME_ACTION_SEARCH; - // view.setSingleLine(true); break; case "send": returnKeyFlag = EditorInfo.IME_ACTION_SEND; - // view.setSingleLine(true); break; case "done": returnKeyFlag = EditorInfo.IME_ACTION_DONE; - // view.setSingleLine(true); break; } }