瀏覽代碼

improvements

marinofaggiana 4 年之前
父節點
當前提交
faaf8ff6cc
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      iOSClient/Utility/NCUtility.swift

+ 5 - 0
iOSClient/Utility/NCUtility.swift

@@ -493,8 +493,13 @@ class NCUtility: NSObject {
     }
     
     @objc func stopActivityIndicator() {
+        
         activityIndicator.stopAnimating()
         activityIndicator.removeFromSuperview()
+        
+        viewActivityIndicator?.removeFromSuperview()
+        viewActivityIndicator = nil
+        
         if viewBackgroundActivityIndicator is NCViewActivityIndicator {
             viewBackgroundActivityIndicator?.removeFromSuperview()
         }