mirror of
https://github.com/etesync/android
synced 2024-12-23 15:18:14 +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)
|
||||
}
|
||||
|
||||
fun updateAsDirty(task: Task): Uri {
|
||||
saveAsDirty = true
|
||||
return this.update(task)
|
||||
}
|
||||
|
||||
fun addAsDirty(): Uri {
|
||||
saveAsDirty = true
|
||||
return this.add()
|
||||
|
Loading…
Reference in New Issue
Block a user