Deselect table view or shares after reload to reset UI

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2024-03-05 00:05:25 +08:00
parent a7de8edd16
commit 30b4509457

View file

@ -77,6 +77,7 @@ class ShareTableViewDataSource: NSObject, NSTableViewDataSource, NSTableViewDele
return
}
account = convertedAccount
await sharesTableView?.deselectAll(self)
shares = await fetch(
itemIdentifier: itemIdentifier, itemRelativePath: serverPath as String
)