marinofaggiana 4 年之前
父节点
当前提交
352d473ae8
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      iOSClient/Media/NCMedia.swift

+ 4 - 0
iOSClient/Media/NCMedia.swift

@@ -325,6 +325,10 @@ class NCMedia: UIViewController, DropdownMenuDelegate, DZNEmptyDataSetSource, DZ
     
     // MARK: DZNEmpty
     
+    func verticalOffset(forEmptyDataSet scrollView: UIScrollView!) -> CGFloat {
+        return 0
+    }
+    
     func backgroundColor(forEmptyDataSet scrollView: UIScrollView) -> UIColor? {
         return NCBrandColor.sharedInstance.backgroundView
     }