From f636651ba446a70ea5190cd11273c769dc4a5934 Mon Sep 17 00:00:00 2001 From: Matt Kiazyk Date: Sun, 7 Feb 2021 14:33:48 -0600 Subject: [PATCH 1/2] Moves the .help for the ProgressIndicator so it refreshes with the fraction change --- Xcodes/Frontend/Common/ObservingProgressIndicator.swift | 1 + Xcodes/Frontend/XcodeList/InstallationStepView.swift | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Xcodes/Frontend/Common/ObservingProgressIndicator.swift b/Xcodes/Frontend/Common/ObservingProgressIndicator.swift index 61e93a1..4362f5e 100644 --- a/Xcodes/Frontend/Common/ObservingProgressIndicator.swift +++ b/Xcodes/Frontend/Common/ObservingProgressIndicator.swift @@ -42,6 +42,7 @@ public struct ObservingProgressIndicator: View { isIndeterminate: progress.progress.isIndeterminate, style: style ) + .help("Dowloading: \(Int((progress.progress.fractionCompleted * 100)))% complete") } } diff --git a/Xcodes/Frontend/XcodeList/InstallationStepView.swift b/Xcodes/Frontend/XcodeList/InstallationStepView.swift index d88a775..42d3f25 100644 --- a/Xcodes/Frontend/XcodeList/InstallationStepView.swift +++ b/Xcodes/Frontend/XcodeList/InstallationStepView.swift @@ -17,7 +17,6 @@ struct InstallationStepView: View { controlSize: .small, style: .spinning ) - .help("Dowloading: \(Int((progress.fractionCompleted * 100)))% complete") case .unarchiving, .moving, .trashingArchive, .checkingSecurity, .finishing: ProgressView() .scaleEffect(0.5) From 80c02295be18a79fd587cc8402136b286edc2860 Mon Sep 17 00:00:00 2001 From: Matt Kiazyk Date: Wed, 10 Feb 2021 08:12:56 -0600 Subject: [PATCH 2/2] fix typo Co-authored-by: Sam Lu --- Xcodes/Frontend/Common/ObservingProgressIndicator.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Xcodes/Frontend/Common/ObservingProgressIndicator.swift b/Xcodes/Frontend/Common/ObservingProgressIndicator.swift index 4362f5e..88f0b05 100644 --- a/Xcodes/Frontend/Common/ObservingProgressIndicator.swift +++ b/Xcodes/Frontend/Common/ObservingProgressIndicator.swift @@ -42,7 +42,7 @@ public struct ObservingProgressIndicator: View { isIndeterminate: progress.progress.isIndeterminate, style: style ) - .help("Dowloading: \(Int((progress.progress.fractionCompleted * 100)))% complete") + .help("Downloading: \(Int((progress.progress.fractionCompleted * 100)))% complete") } }