mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-21 20:45:51 +03:00
Add method to remove finished sync action in FileProviderExt
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
c189f2952f
commit
3f3f478f6a
1 changed files with 7 additions and 0 deletions
|
@ -83,6 +83,13 @@ import OSLog
|
|||
updatedSyncStateReporting(oldActions: oldActions)
|
||||
}
|
||||
|
||||
func removeSyncAction(_ actionId: UUID) {
|
||||
let oldActions = syncActions
|
||||
syncActions.remove(actionId)
|
||||
errorActions.remove(actionId)
|
||||
updatedSyncStateReporting(oldActions: oldActions)
|
||||
}
|
||||
|
||||
// MARK: - NSFileProviderReplicatedExtension protocol methods
|
||||
|
||||
func item(
|
||||
|
|
Loading…
Reference in a new issue