Commit 853d6390d2ecac4c969cebba9a02f2a90d5929e2
1 parent
b641fe18
Exists in
yxb_dev
and in
2 other branches
no message
Showing
2 changed files
with
4 additions
and
2 deletions
 
Show diff stats
.idea/modules.xml
| ... | ... | @@ -4,8 +4,8 @@ | 
| 4 | 4 | <modules> | 
| 5 | 5 | <module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJECT_DIR$/app/app.iml" /> | 
| 6 | 6 | <module fileurl="file://$PROJECT_DIR$/mvpsdk/mvpsdk.iml" filepath="$PROJECT_DIR$/mvpsdk/mvpsdk.iml" /> | 
| 7 | - <module fileurl="file://$PROJECT_DIR$/parentWorkHolper.iml" filepath="$PROJECT_DIR$/parentWorkHolper.iml" /> | |
| 8 | 7 | <module fileurl="file://E:\parentwork\parentWorkHolper.iml" filepath="E:\parentwork\parentWorkHolper.iml" /> | 
| 8 | + <module fileurl="file://$PROJECT_DIR$/parentwork.iml" filepath="$PROJECT_DIR$/parentwork.iml" /> | |
| 9 | 9 | <module fileurl="file://F:\parentWorkHolper\parentwork.iml" filepath="F:\parentWorkHolper\parentwork.iml" /> | 
| 10 | 10 | <module fileurl="file://$PROJECT_DIR$/roundedimageview-2.2.1/roundedimageview-2.2.1.iml" filepath="$PROJECT_DIR$/roundedimageview-2.2.1/roundedimageview-2.2.1.iml" /> | 
| 11 | 11 | </modules> | ... | ... | 
app/src/main/java/com/shunzhi/parent/ui/fragment/MineFragment.java
| ... | ... | @@ -21,6 +21,7 @@ import com.shunzhi.parent.AppContext; | 
| 21 | 21 | import com.shunzhi.parent.R; | 
| 22 | 22 | import com.shunzhi.parent.contract.loginandregister.LoginAndRegisterContract; | 
| 23 | 23 | import com.shunzhi.parent.contract.mine.MineContract; | 
| 24 | +import com.shunzhi.parent.manager.MessageManager; | |
| 24 | 25 | import com.shunzhi.parent.presenter.mine.MinePresenter; | 
| 25 | 26 | import com.shunzhi.parent.ui.activity.LoginAndRegistActivity; | 
| 26 | 27 | import com.shunzhi.parent.ui.activity.MyChildActivity; | 
| ... | ... | @@ -83,9 +84,10 @@ public class MineFragment extends BaseMVPCompatFragment<LoginAndRegisterContract | 
| 83 | 84 | if (!TextUtils.isEmpty(useName))AppConfig.ISLOGIN=true; | 
| 84 | 85 | else AppConfig.ISLOGIN=false; | 
| 85 | 86 | |
| 86 | - if (TextUtils.isEmpty(AppConfig.getAppConfig(getContext()).get(AppConfig.ISBINDING))) { | |
| 87 | + if (!TextUtils.isEmpty(AppConfig.getAppConfig(getContext()).get(AppConfig.ISBINDING))) { | |
| 87 | 88 | binding_state.setText(""); | 
| 88 | 89 | } | 
| 90 | + | |
| 89 | 91 | if (AppConfig.ISLOGIN) { | 
| 90 | 92 | String url = AppConfig.getAppConfig(AppContext.getInstance()).get(AppConfig.USER_IMAGE); | 
| 91 | 93 | if (!TextUtils.isEmpty(url)) { | ... | ... |