adjust code style and add default case

This commit is contained in:
pengfei.zhou
2020-06-13 11:53:21 +08:00
committed by osborn
parent 497bd0ac45
commit 4a788eb4bb
3 changed files with 45 additions and 38 deletions

View File

@@ -136,6 +136,9 @@ public class InputNode extends ViewNode<EditText> implements TextWatcher, View.O
case 4:
mView.setInputType(InputType.TYPE_CLASS_PHONE);
break;
default:
mView.setInputType(InputType.TYPE_CLASS_TEXT);
break;
}
}
break;