updated the blueprint icon
23
Resources/Assets.xcassets/blueprint.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
{
|
||||||
|
"images" : [
|
||||||
|
{
|
||||||
|
"filename" : "ShhShell Blueprint@1x.png",
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "1x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "ShhShell Blueprint@2x.png",
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "2x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "ShhShell Blueprint@3x.png",
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "3x"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"info" : {
|
||||||
|
"author" : "xcode",
|
||||||
|
"version" : 1
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
Resources/Assets.xcassets/blueprint.imageset/ShhShell Blueprint@1x.png
vendored
Normal file
|
After Width: | Height: | Size: 172 KiB |
BIN
Resources/Assets.xcassets/blueprint.imageset/ShhShell Blueprint@2x.png
vendored
Normal file
|
After Width: | Height: | Size: 551 KiB |
BIN
Resources/Assets.xcassets/blueprint.imageset/ShhShell Blueprint@3x.png
vendored
Normal file
|
After Width: | Height: | Size: 2.1 MiB |
|
Before Width: | Height: | Size: 124 KiB After Width: | Height: | Size: 124 KiB |
|
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 66 KiB |
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
@@ -35,10 +35,8 @@ enum AppIcon: Codable, CaseIterable, Equatable {
|
|||||||
|
|
||||||
var image: Image {
|
var image: Image {
|
||||||
switch self {
|
switch self {
|
||||||
case .regular:
|
case .regular, .blueprint:
|
||||||
Image("Icon")
|
Image("\(self)")
|
||||||
case .blueprint:
|
|
||||||
Image(uiImage: UIImage())
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -67,10 +67,11 @@ struct SettingsView: View {
|
|||||||
.frame(maxWidth: 85)
|
.frame(maxWidth: 85)
|
||||||
.clipShape(RoundedRectangle(cornerRadius: 16.5))
|
.clipShape(RoundedRectangle(cornerRadius: 16.5))
|
||||||
.padding(5)
|
.padding(5)
|
||||||
Spacer(minLength: 10)
|
Spacer()
|
||||||
Text("\(icon)").tag(icon)
|
Text("\(icon)").tag(icon)
|
||||||
.font(.caption)
|
.font(.caption)
|
||||||
.padding(5)
|
.padding(5)
|
||||||
|
Spacer()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.frame(maxWidth: 85)
|
.frame(maxWidth: 85)
|
||||||
|
|||||||