mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
fix(FileProviderExt): do not report syncing state when trying to delete trash items
Trying to delete items from the trash with the "Allow deletion of items in Trash" setting unticked would previously result in the sync state being stuck in the "Syncing" state. Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
This commit is contained in:
parent
45a3dc4201
commit
9711bbfdee
@ -478,6 +478,7 @@ import OSLog
|
||||
item: \(item.filename, privacy: .public)
|
||||
"""
|
||||
)
|
||||
removeSyncAction(actionId)
|
||||
completionHandler(NSError.fileProviderErrorForRejectedDeletion(of: item))
|
||||
return
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user