зеркало из https://github.com/nextcloud/desktop.git
Add method to remove finished sync action in FileProviderExt
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Родитель
c189f2952f
Коммит
3f3f478f6a
|
@ -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(
|
||||
|
|
Загрузка…
Ссылка в новой задаче