marinofaggiana 5 years ago
parent
commit
a9532f63da
1 changed files with 2 additions and 1 deletions
  1. 2 1
      iOSClient/Main/NCDetailViewController.swift

+ 2 - 1
iOSClient/Main/NCDetailViewController.swift

@@ -97,7 +97,8 @@ class NCDetailViewController: UIViewController {
         coordinator.animate(alongsideTransition: nil) { _ in
             
             if let progressView = self.progressView, let navigationBar = self.navigationController?.navigationBar {
-                 progressView.frame = CGRect(x: 0, y: navigationBar.frame.height-self.progressHeight, width: navigationBar.frame.width, height: self.progressHeight)
+                progressView.frame = CGRect(x: 0, y: navigationBar.frame.height-self.progressHeight, width: navigationBar.frame.width, height: self.progressHeight)
+                progressView.transform = CGAffineTransform(scaleX: 1, y: progressHeight)
             }
         }
     }