fix crash while logging out
This commit is contained in:
parent
e0909900a4
commit
b44d895165
@ -1201,8 +1201,13 @@ public class OnlineActivity extends CommonActivity {
|
|||||||
|
|
||||||
protected void logout() {
|
protected void logout() {
|
||||||
setSessionId(null);
|
setSessionId(null);
|
||||||
|
|
||||||
findViewById(R.id.loading_container).setVisibility(View.VISIBLE);
|
View loadingContainer = findViewById(R.id.loading_container);
|
||||||
|
|
||||||
|
if (loadingContainer != null) {
|
||||||
|
loadingContainer.setVisibility(View.VISIBLE);
|
||||||
|
}
|
||||||
|
|
||||||
setLoadingStatus(R.string.login_ready, false);
|
setLoadingStatus(R.string.login_ready, false);
|
||||||
|
|
||||||
initMenu();
|
initMenu();
|
||||||
|
Loading…
Reference in New Issue
Block a user