mirror of
https://github.com/ninxsoft/Mist.git
synced 2025-05-24 12:07:14 -04:00
Hide bootable installer button for macOS Catalina and older
This commit is contained in:
parent
fbc6767df1
commit
6b4aec4e50
1 changed files with 10 additions and 8 deletions
|
@ -83,15 +83,17 @@ struct ListRowInstaller: View {
|
|||
}
|
||||
.help("Download and export macOS Installer")
|
||||
.buttonStyle(.mistAction)
|
||||
Button {
|
||||
pressButton(.volumeSelection)
|
||||
} label: {
|
||||
Image(systemName: "externaldrive")
|
||||
.font(.body.bold())
|
||||
.padding(.vertical, 1)
|
||||
if installer.bigSurOrNewer {
|
||||
Button {
|
||||
pressButton(.volumeSelection)
|
||||
} label: {
|
||||
Image(systemName: "externaldrive")
|
||||
.font(.body.bold())
|
||||
.padding(.vertical, 1)
|
||||
}
|
||||
.help("Create bootable macOS Installer")
|
||||
.buttonStyle(.mistAction)
|
||||
}
|
||||
.help("Create bootable macOS Installer")
|
||||
.buttonStyle(.mistAction)
|
||||
}
|
||||
.clipShape(Capsule())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue