avoid a crash

This commit is contained in:
Thomas 2023-01-31 18:16:01 +01:00
parent 833ea5d0c3
commit d9e92b13b6
1 changed files with 3 additions and 0 deletions

View File

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