marinofaggiana 4 жил өмнө
parent
commit
e1fc83d47a

+ 2 - 1
iOSClient/EmptyView/NCEmptyDataSet.swift

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