Commit b0206fd7f91275574f062bd6a8262264f34247b6
1 parent
3d846138
Exists in
yxb_dev
and in
1 other branch
no message
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/src/main/java/com/shunzhi/parent/ui/fragment/MineFragment.java
... | ... | @@ -104,7 +104,7 @@ public class MineFragment extends BaseMVPCompatFragment<LoginAndRegisterContract |
104 | 104 | String useName = AppConfig.getAppConfig(getContext()).get(AppConfig.USER_NAME); |
105 | 105 | if (!TextUtils.isEmpty(useName)) AppConfig.ISLOGIN = true; |
106 | 106 | else AppConfig.ISLOGIN = false; |
107 | - if (AppConfig.getAppConfig(getContext()).get(AppConfig.ISBINDING).equals("1")) { | |
107 | + if ("1".equals(AppConfig.getAppConfig(getContext()).get(AppConfig.ISBINDING))) { | |
108 | 108 | binding_state.setText(""); |
109 | 109 | } else { |
110 | 110 | binding_state.setText("未绑定"); | ... | ... |