avoid a crash

This commit is contained in:
Thomas 2023-01-31 18:16:01 +01:00
parent 833ea5d0c3
commit d9e92b13b6

View file

@ -698,6 +698,9 @@ public abstract class BaseMainActivity extends BaseActivity implements NetworkSt
} else { } else {
try { try {
BaseAccount account = new Account(activity).getUniqAccount(userIdIntent, instanceIntent); BaseAccount account = new Account(activity).getUniqAccount(userIdIntent, instanceIntent);
if (account == null) {
return;
}
SharedPreferences sharedpreferences = PreferenceManager.getDefaultSharedPreferences(activity); SharedPreferences sharedpreferences = PreferenceManager.getDefaultSharedPreferences(activity);
headerMenuOpen = false; headerMenuOpen = false;
String acct = ""; String acct = "";