From 7fad56b3f7595f6ac92980705e09a2559693878e Mon Sep 17 00:00:00 2001 From: Matt Kiazyk Date: Sat, 23 Jan 2021 17:13:07 -0600 Subject: [PATCH] Put tooltip on installationStepView --- Xcodes/Frontend/Common/ProgressIndicator.swift | 1 - Xcodes/Frontend/XcodeList/InstallationStepView.swift | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Xcodes/Frontend/Common/ProgressIndicator.swift b/Xcodes/Frontend/Common/ProgressIndicator.swift index b9c7e87..4c11f0a 100644 --- a/Xcodes/Frontend/Common/ProgressIndicator.swift +++ b/Xcodes/Frontend/Common/ProgressIndicator.swift @@ -23,7 +23,6 @@ struct ProgressIndicator: NSViewRepresentable { nsView.controlSize = controlSize nsView.isIndeterminate = isIndeterminate nsView.style = style - nsView.toolTip = "Dowloading: \(Int(doubleValue * 100.0))% complete" } } diff --git a/Xcodes/Frontend/XcodeList/InstallationStepView.swift b/Xcodes/Frontend/XcodeList/InstallationStepView.swift index 42d3f25..d88a775 100644 --- a/Xcodes/Frontend/XcodeList/InstallationStepView.swift +++ b/Xcodes/Frontend/XcodeList/InstallationStepView.swift @@ -17,6 +17,7 @@ struct InstallationStepView: View { controlSize: .small, style: .spinning ) + .help("Dowloading: \(Int((progress.fractionCompleted * 100)))% complete") case .unarchiving, .moving, .trashingArchive, .checkingSecurity, .finishing: ProgressView() .scaleEffect(0.5)