Fix icon in readme

This commit is contained in:
Thomas Ricouard 2022-12-06 09:10:34 +01:00
parent 46c78d5811
commit b7ce9648d5
2 changed files with 2 additions and 2 deletions

View file

@ -31,7 +31,7 @@ struct IconSelectorView: View {
}
} label: {
ZStack(alignment: .bottomTrailing) {
Image(uiImage: .init(named: icon.rawValue)!)
Image(uiImage: .init(named: icon.rawValue) ?? .init())
.resizable()
.aspectRatio(contentMode: .fit)
.frame(minHeight: 125, maxHeight: 1024)

View file

@ -1,4 +1,4 @@
# IceCubesApp
A SwiftUI Mastodon client
![Icon](IceCubesApp/Resources/Assets.xcassets/AppIcon.appiconset/icon.png?)
![Icon](IceCubesApp/Assets.xcassets/AppIcon.appiconset/icon.png?)