avoid a crash

auto_cache_home
Thomas 2 years ago
parent 833ea5d0c3
commit d9e92b13b6

@ -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 = "";

Loading…
Cancel
Save