修复UserBean的is_bind为空导致【编辑资料】时闪退问题
This commit is contained in:
parent
944d703e36
commit
80fe5271f6
@ -466,7 +466,7 @@ public class EditProfileActivity extends AbsActivity {
|
||||
MainHttpUtil.getBaseInfo(new CommonCallback<UserBean>() {
|
||||
@Override
|
||||
public void callback(UserBean u) {
|
||||
if ("1".equals(u.getIs_bind())) {
|
||||
if (u != null &&"1".equals(u.getIs_bind())) {
|
||||
tv_bind_phone.setText("");
|
||||
isBind = "1";
|
||||
mobile = u.getMobile();
|
||||
|
Loading…
Reference in New Issue
Block a user