Skip to content

Commit 1f0272b

Browse files
author
Jinks
committed
修正参数错误
1 parent 3858e47 commit 1f0272b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lesscode-core/src/main/java/com/jayfeng/lesscode/core/KeyBoardLess.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public final class KeyBoardLess {
1717
public static void $show(Context context, View view) {
1818
InputMethodManager imm =
1919
(InputMethodManager) context.getSystemService(Context.INPUT_METHOD_SERVICE);
20-
imm.showSoftInput(view, InputMethodManager.RESULT_SHOWN);
20+
imm.showSoftInput(view, InputMethodManager.SHOW_FORCED);
2121
imm.toggleSoftInput(InputMethodManager.SHOW_FORCED, InputMethodManager.HIDE_IMPLICIT_ONLY);
2222
}
2323

0 commit comments

Comments
 (0)