mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-07-13 17:51:57 +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() {
|
private void createCheckListRecyclerView() {
|
||||||
List<ChecklistItem> checklistItems = new ArrayList<>();
|
List<ChecklistItem> checklistItems = new ArrayList<>();
|
||||||
if (task.getChecklist() != null) {
|
if (task != null && task.getChecklist() != null) {
|
||||||
checklistItems = task.getChecklist();
|
checklistItems = task.getChecklist();
|
||||||
}
|
}
|
||||||
checklistAdapter = new CheckListAdapter(checklistItems);
|
checklistAdapter = new CheckListAdapter(checklistItems);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue