修改后台或用户打开下载后不会再回到关闭下载的状态

This commit is contained in:
huangzhuanghua
2016-11-14 14:08:42 +08:00
parent 22e51f1216
commit 3f5a94e710
2 changed files with 11 additions and 3 deletions

View File

@ -221,7 +221,10 @@ public class SettingActivity extends BaseActivity implements OnClickListener {
finish();
break;
case R.id.setting_cv_fix_download:
sp.edit().putBoolean("isShow", true).apply();
Editor editor = sp.edit();
editor.putBoolean("isShow", true);
editor.putBoolean("isCheckShow", false);
editor.apply();
toast("修复成功,快去首页看看吧");
EventBus.getDefault().post(new EBReuse("Refresh"));
break;