mirror of
https://github.com/etesync/android
synced 2025-01-11 08:10:58 +00:00
Tasks: implement update as dirty.
This commit is contained in:
parent
101e7e2559
commit
cc83e2c5d9
@ -84,6 +84,11 @@ class LocalTask : AndroidTask, LocalResource<Task> {
|
|||||||
.withValue(COLUMN_ETAG, eTag)
|
.withValue(COLUMN_ETAG, eTag)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fun updateAsDirty(task: Task): Uri {
|
||||||
|
saveAsDirty = true
|
||||||
|
return this.update(task)
|
||||||
|
}
|
||||||
|
|
||||||
fun addAsDirty(): Uri {
|
fun addAsDirty(): Uri {
|
||||||
saveAsDirty = true
|
saveAsDirty = true
|
||||||
return this.add()
|
return this.add()
|
||||||
|
Loading…
Reference in New Issue
Block a user