mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-17 19:29:02 +00:00
Merge pull request #1911 from Hafizzle/Fiz/todo-discard-fix
discard task changes dueDate null check
This commit is contained in:
commit
6a474841fb
1 changed files with 1 additions and 1 deletions
|
|
@ -423,7 +423,7 @@ open class Task : RealmObject, BaseMainObject, Parcelable, BaseTask {
|
|||
else -> false
|
||||
}
|
||||
} else if (type == TaskType.TODO) {
|
||||
return dueDate != task.dueDate
|
||||
return (dueDate != task.dueDate && task.dueDate != null)
|
||||
} else if (type == TaskType.REWARD) {
|
||||
return value != task.value
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue