Prevent crash

pull/187/head
M66B 4 years ago
parent 0842f828a5
commit 532a47bc07

@ -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…
Cancel
Save