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

+ 2 - 1
iOSClient/Media/NCMedia.swift

@@ -623,7 +623,8 @@ extension NCMedia {
         
         
         if addPast {
         if addPast {
             DispatchQueue.main.async {
             DispatchQueue.main.async {
-                NCUtility.sharedInstance.startActivityIndicator(view: self.view, bottom: 60)
+                let height = self.tabBarController?.tabBar.frame.size.height ?? 0
+                NCUtility.sharedInstance.startActivityIndicator(view: self.view, bottom: height + 50)
             }
             }
         }
         }
         loadingSearch = true
         loadingSearch = true