mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-03 21:55:13 +00:00
Prevent crash
This commit is contained in:
parent
0b08c39845
commit
f89597b936
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue