Merge pull request #104 from RobotsAndPencils/matt/FractionDownloadHelp

Moves the .help for the ProgressIndicator so it refreshes with the fraction change
This commit is contained in:
Matt Kiazyk 2021-02-10 10:24:50 -06:00 committed by GitHub
commit 2329098601
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

View file

@ -42,6 +42,7 @@ public struct ObservingProgressIndicator: View {
isIndeterminate: progress.progress.isIndeterminate, isIndeterminate: progress.progress.isIndeterminate,
style: style style: style
) )
.help("Downloading: \(Int((progress.progress.fractionCompleted * 100)))% complete")
} }
} }

View file

@ -17,7 +17,6 @@ struct InstallationStepView: View {
controlSize: .small, controlSize: .small,
style: .spinning style: .spinning
) )
.help("Dowloading: \(Int((progress.fractionCompleted * 100)))% complete")
case .unarchiving, .moving, .trashingArchive, .checkingSecurity, .finishing: case .unarchiving, .moving, .trashingArchive, .checkingSecurity, .finishing:
ProgressView() ProgressView()
.scaleEffect(0.5) .scaleEffect(0.5)