Browse Source

improvements

marinofaggiana 4 years ago
parent
commit
faaf8ff6cc
1 changed files with 5 additions and 0 deletions
  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()
         }