fix : 修復 註冊也崩潰, 添加默認值
This commit is contained in:
@@ -163,7 +163,7 @@ public class AddUserInfoFragment extends BaseFragment
|
||||
switch (v.getId()) {
|
||||
case R.id.ok_btn:
|
||||
|
||||
if (tvNick.getText() != null) {
|
||||
if (tvNick.getText() == null) {
|
||||
toast(ResUtil.getString(R.string.login_fragment_adduserinfofragment_01));
|
||||
return;
|
||||
}
|
||||
|
@@ -112,6 +112,7 @@
|
||||
android:hint="@string/please_input_name"
|
||||
android:lines="1"
|
||||
android:maxLength="8"
|
||||
android:text=""
|
||||
android:paddingStart="@dimen/dp_24"
|
||||
android:paddingEnd="0dp"
|
||||
android:singleLine="true"
|
||||
|
Reference in New Issue
Block a user