File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
chat/src/main/java/cn/wildfire/chat/app/login Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 2828import cn .wildfire .chat .kit .Config ;
2929import cn .wildfire .chat .kit .WfcBaseNoToolbarActivity ;
3030import cn .wildfire .chat .kit .WfcWebViewActivity ;
31+ import cn .wildfire .chat .kit .utils .ViewUtil ;
3132import cn .wildfire .chat .kit .widget .SimpleTextWatcher ;
3233import cn .wildfirechat .chat .R ;
3334
@@ -44,6 +45,7 @@ private void bindEvents() {
4445 if (checkBox .isChecked ()) {
4546 login ();
4647 } else {
48+ ViewUtil .hideKeyboard (this , passwordEditText );
4749 Toast .makeText (this , R .string .check_agreement_tip , Toast .LENGTH_SHORT ).show ();
4850 }
4951 });
Original file line number Diff line number Diff line change 2525import cn .wildfire .chat .kit .Config ;
2626import cn .wildfire .chat .kit .WfcBaseNoToolbarActivity ;
2727import cn .wildfire .chat .kit .WfcWebViewActivity ;
28+ import cn .wildfire .chat .kit .utils .ViewUtil ;
2829import cn .wildfire .chat .kit .widget .SimpleTextWatcher ;
2930import cn .wildfirechat .chat .R ;
3031
@@ -44,6 +45,7 @@ private void bindEvents() {
4445 if (checkBox .isChecked ()) {
4546 login ();
4647 } else {
48+ ViewUtil .hideKeyboard (this , authCodeEditText );
4749 Toast .makeText (this , R .string .check_agreement_tip , Toast .LENGTH_SHORT ).show ();
4850 }
4951 });
You can’t perform that action at this time.
0 commit comments