Explorar o código

make sure the HUD progress animation in case of success always finishes with a smooth animation to 100%

cyberta %!s(int64=5) %!d(string=hai) anos
pai
achega
9bcbe5f293
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      deltachat-ios/Handler/HudHandler.swift

+ 2 - 0
deltachat-ios/Handler/HudHandler.swift

@@ -47,6 +47,8 @@ class HudHandler {
         let delay = 1.0
 
         if let hud = self.backupHud {
+            hud.setProgress(1.0, animated: true)
+            hud.detailTextLabel.text = "100%"
             DispatchQueue.main.asyncAfter(deadline: .now() + .milliseconds(500)) {
                 UIView.animate(
                     withDuration: 0.1, animations: {