mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-17 19:29:02 +00:00
Fix NPE when adding some tasks (value/completed could be null --> use primitive
This commit is contained in:
parent
c966bc1e3b
commit
15327e4530
1 changed files with 2 additions and 2 deletions
|
|
@ -38,7 +38,7 @@ public class Task extends BaseModel {
|
|||
public String text, notes, attribute, type;
|
||||
|
||||
@Column
|
||||
public Double value;
|
||||
public double value;
|
||||
|
||||
public List<TaskTag> tags;
|
||||
|
||||
|
|
@ -52,7 +52,7 @@ public class Task extends BaseModel {
|
|||
|
||||
//todos/dailies
|
||||
@Column
|
||||
public Boolean completed;
|
||||
public boolean completed;
|
||||
|
||||
public List<ChecklistItem> checklist;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue