Add essential table view data source method to ShareTableViewDataSource

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2024-02-27 23:55:26 +08:00
parent d53680e583
commit 765f33b45c

View file

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