add icon for Xcode beta version

This commit is contained in:
huihuisang 2024-02-29 09:04:28 +08:00
parent e5c4fd431a
commit 950045b427
3 changed files with 13 additions and 1 deletions

View file

@ -73,7 +73,7 @@ struct XcodeListViewRow: View {
if let icon = xcode.icon {
Image(nsImage: icon)
} else {
Image("xcode")
Image(xcode.version.isPrerelease ? "xcode-beta" : "xcode")
.resizable()
.frame(width: 32, height: 32)
.opacity(0.2)

View file

@ -0,0 +1,12 @@
{
"images" : [
{
"filename" : "Image.png",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB