]> dgit.raspbian.org Git - nextcloud-desktop.git/commitdiff
Add essential table view data source method to ShareTableViewDataSource
authorClaudio Cambra <claudio.cambra@nextcloud.com>
Tue, 27 Feb 2024 15:55:26 +0000 (23:55 +0800)
committerClaudio Cambra <claudio.cambra@nextcloud.com>
Wed, 17 Apr 2024 08:38:48 +0000 (16:38 +0800)
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/ShareTableViewDataSource.swift

index 7d19fb7fe91e2e9b7b6db246bc72a8d6aa524aad..fac590e2afde66b6edac710bd1c6b9c35c35f1e5 100644 (file)
@@ -59,4 +59,10 @@ class ShareTableViewDataSource: NSObject, NSTableViewDataSource {
         }
         return proxy
     }
+
+    // MARK: - NSTableViewDataSource protocol methods
+
+    @objc func numberOfRows(in tableView: NSTableView) -> Int {
+        shares.count
+    }
 }