Prevent crash

This commit is contained in:
M66B 2020-01-24 11:26:11 +01:00
parent 0b08c39845
commit f89597b936
1 changed files with 3 additions and 0 deletions

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);