mirror of
https://github.com/XcodesOrg/XcodesApp.git
synced 2026-04-27 15:07:39 +00:00
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:
commit
2329098601
2 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue