Skip to content
Snippets Groups Projects

Account recovery/backup feature

3 files
+ 20
20
Compare changes
  • Side-by-side
  • Inline

Files

@@ -116,7 +116,10 @@ final class BackupActionView: UIView {
progressView.isHidden = false
finishedView.isHidden = true
progressLabel.text = "Uploading \(uploaded) MB of \(total) MB (\(total/uploaded)%)"
let uploadedKb = String(format: "%.1f kb", uploaded/1000)
let totalkb = String(format: "%.1f kb", total/1000)
progressLabel.text = "Uploaded \(uploadedKb) of \(totalkb) (\(total/uploaded)%)"
}
}
}
Loading