mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-03 13:44:40 +00:00
Prevent crash
This commit is contained in:
parent
0842f828a5
commit
532a47bc07
1 changed files with 7 additions and 0 deletions
|
@ -53,6 +53,13 @@ public class TupleKeyword {
|
|||
}
|
||||
|
||||
static List<TupleKeyword> from(Context context, Persisted data) {
|
||||
if (data == null)
|
||||
data = new Persisted();
|
||||
if (data.selected == null)
|
||||
data.selected = new String[0];
|
||||
if (data.available == null)
|
||||
data.available = new String[0];
|
||||
|
||||
List<TupleKeyword> result = new ArrayList<>();
|
||||
|
||||
List<String> keywords = new ArrayList<>();
|
||||
|
|
Loading…
Reference in a new issue