优化掉线问题

This commit is contained in:
kehaoyuan
2017-11-03 19:43:49 +08:00
parent 91ee8362ba
commit 5860ca720e
6 changed files with 33 additions and 10 deletions

View File

@ -28,7 +28,6 @@ import com.gh.common.util.StringUtils;
import com.gh.gamecenter.entity.LoginResponseEntity;
import com.gh.gamecenter.eventbus.EBReuse;
import com.gh.gamecenter.eventbus.EBSkip;
import com.gh.gamecenter.personal.PersonalFragment;
import com.kyleduo.switchbutton.SwitchButton;
import com.lightgame.download.FileUtils;
import com.lightgame.utils.Utils;
@ -278,7 +277,6 @@ public class SettingActivity extends BaseActivity implements OnClickListener {
@Override
public void onCompleted() {
if (loadingDialog != null) loadingDialog.dismiss();
EventBus.getDefault().post(new EBReuse(PersonalFragment.LOGOUT_TAG));
finish();
}
});