1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-03 21:55:13 +00:00

Prevent crash

This commit is contained in:
M66B 2020-01-24 11:26:11 +01:00
parent 0b08c39845
commit f89597b936

View file

@ -180,6 +180,9 @@ public class ActivityWidgetUnified extends ActivityBase {
@Override
protected void onExecuted(Bundle args, List<EntityAccount> accounts) {
if (accounts == null)
accounts = new ArrayList<>();
EntityAccount all = new EntityAccount();
all.id = -1L;
all.name = getString(R.string.title_widget_account_all);