Fix Minimum version supported alert to show proper message

This commit is contained in:
Matt Kiazyk 2022-06-13 19:34:07 -05:00
parent b3e1b58a0c
commit d351068684
No known key found for this signature in database
GPG key ID: 850581D2373E4A99

View file

@ -156,7 +156,7 @@ struct MainWindow: View {
case let .checkMinSupportedVersion(xcode, deviceVersion):
return Alert(
title: Text("Alert.MinSupported.Title"),
message: Text(String(format: "Alert.MinSupported.Message", xcode.version.descriptionWithoutBuildMetadata, xcode.requiredMacOSVersion ?? "", deviceVersion)),
message: Text(String(format: localizeString("Alert.MinSupported.Message"), xcode.version.descriptionWithoutBuildMetadata, xcode.requiredMacOSVersion ?? "", deviceVersion)),
primaryButton: .default(
Text("Install"),
action: {