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

+ 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()
         }