diff --git a/shell_integration/MacOSX/NextcloudIntegration/FileProviderExt/FileProviderExtension.swift b/shell_integration/MacOSX/NextcloudIntegration/FileProviderExt/FileProviderExtension.swift index 2a47f37e2..bd4c5b33f 100644 --- a/shell_integration/MacOSX/NextcloudIntegration/FileProviderExt/FileProviderExtension.swift +++ b/shell_integration/MacOSX/NextcloudIntegration/FileProviderExt/FileProviderExtension.swift @@ -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(