Tasks: implement update as dirty.

pull/96/head
Tom Hacohen 5 years ago
parent 101e7e2559
commit cc83e2c5d9

@ -84,6 +84,11 @@ class LocalTask : AndroidTask, LocalResource<Task> {
.withValue(COLUMN_ETAG, eTag)
}
fun updateAsDirty(task: Task): Uri {
saveAsDirty = true
return this.update(task)
}
fun addAsDirty(): Uri {
saveAsDirty = true
return this.add()

Loading…
Cancel
Save