mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-28 19:58:56 +03:00
Fix crash on reloading share table view data source
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
5702b163c8
commit
a7de8edd16
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ class ShareTableViewDataSource: NSObject, NSTableViewDataSource, NSTableViewDele
|
||||||
private(set) var kit: NextcloudKit?
|
private(set) var kit: NextcloudKit?
|
||||||
private var itemURL: URL?
|
private var itemURL: URL?
|
||||||
private var shares: [NKShare] = [] {
|
private var shares: [NKShare] = [] {
|
||||||
didSet { sharesTableView?.reloadData() }
|
didSet { Task { @MainActor in sharesTableView?.reloadData() } }
|
||||||
}
|
}
|
||||||
private var account: NextcloudAccount? {
|
private var account: NextcloudAccount? {
|
||||||
didSet {
|
didSet {
|
||||||
|
|
Loading…
Reference in a new issue