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