Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
fileNameIcon.image = fileThumbnail?.nsImage
}
+ func fetchStarted() {
+ loadingEffectView.isHidden = false
+ loadingIndicator.startAnimation(self)
+ }
+
+ func fetchFinished() {
+ loadingEffectView.isHidden = true
+ loadingIndicator.stopAnimation(self)
+ }
+
func hideOptions() {
splitView.removeArrangedSubview(optionsView)
optionsView.isHidden = true
import NextcloudKit
protocol ShareViewDataSourceUIDelegate {
+ func fetchStarted()
+ func fetchFinished()
func hideOptions()
func showOptions(share: NKShare)
}