marinofaggiana 4 年之前
父節點
當前提交
e1fc83d47a
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      iOSClient/EmptyView/NCEmptyDataSet.swift

+ 2 - 1
iOSClient/EmptyView/NCEmptyDataSet.swift

@@ -52,11 +52,12 @@ class NCEmptyDataSet: NSObject {
         numberItemsForSection[section] = num
         
         if let emptyView = emptyView {
+            
             self.delegate?.emptyDataSetView?(emptyView)
             
             if !(timer?.isValid ?? false) && emptyView.isHidden == true {
                 timer = Timer.scheduledTimer(timeInterval: 0.3, target: self, selector: #selector(timerHandler(_:)), userInfo: nil, repeats: false)
-            }            
+            }
             
             var numberItems: Int = 0
             for value in numberItemsForSection {