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:
Jyrki Gadinger 2025-08-19 10:33:41 +02:00 committed by Matthieu Gallien
parent 45a3dc4201
commit 9711bbfdee

View File

@ -478,6 +478,7 @@ import OSLog
item: \(item.filename, privacy: .public)
"""
)
removeSyncAction(actionId)
completionHandler(NSError.fileProviderErrorForRejectedDeletion(of: item))
return
}