From 75c977cf865b53a2cef5f285dd8d8f34f0c5e7e7 Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Wed, 3 Apr 2024 20:40:58 +0800 Subject: [PATCH] Post suggestions changed notification in ShareeSuggestionsDataSource Signed-off-by: Claudio Cambra --- .../FileProviderUIExt/ShareeSuggestionsDataSource.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/ShareeSuggestionsDataSource.swift b/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/ShareeSuggestionsDataSource.swift index aa3f6388a..604efff32 100644 --- a/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/ShareeSuggestionsDataSource.swift +++ b/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/ShareeSuggestionsDataSource.swift @@ -24,6 +24,7 @@ class ShareeSuggestionsDataSource: SuggestionsDataSource { private func updateSuggestions() async { let sharees = await fetchSharees(search: inputString) suggestions = suggestionsFromSharees(sharees) + NotificationCenter.default.post(name: SuggestionsChangedNotificationName, object: self) } private func fetchSharees(search: String) async -> [NKSharee] { -- 2.30.2