mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-20 12:49:02 +00:00
Check validation for task - it was crashing the daily creation
This commit is contained in:
parent
f11826b174
commit
81e5ed41a9
1 changed files with 1 additions and 1 deletions
|
|
@ -129,7 +129,7 @@ public class TaskFormActivity extends AppCompatActivity implements AdapterView.O
|
|||
|
||||
private void createCheckListRecyclerView() {
|
||||
List<ChecklistItem> checklistItems = new ArrayList<>();
|
||||
if (task.getChecklist() != null) {
|
||||
if (task != null && task.getChecklist() != null) {
|
||||
checklistItems = task.getChecklist();
|
||||
}
|
||||
checklistAdapter = new CheckListAdapter(checklistItems);
|
||||
|
|
|
|||
Loading…
Reference in a new issue