diff --git a/app/src/main/java/app/fedilab/android/BaseMainActivity.java b/app/src/main/java/app/fedilab/android/BaseMainActivity.java index cb70a91c..0adb7f72 100644 --- a/app/src/main/java/app/fedilab/android/BaseMainActivity.java +++ b/app/src/main/java/app/fedilab/android/BaseMainActivity.java @@ -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 = "";