Commit d99abf4c authored by Ricki Hirner's avatar Ricki Hirner

Clear _DIRTY on task update

parent da7a9383
......@@ -195,11 +195,11 @@ abstract class AndroidTask(
protected open fun buildTask(builder: Builder, update: Boolean) {
if (!update)
builder .withValue(Tasks.LIST_ID, taskList.id)
.withValue(Tasks._DIRTY, 0)
val task = requireNotNull(task)
builder
.withValue(Tasks._UID, task.uid)
.withValue(Tasks._DIRTY, 0)
.withValue(Tasks.SYNC_VERSION, task.sequence)
.withValue(Tasks.TITLE, task.summary)
.withValue(Tasks.LOCATION, task.location)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment