Fix About view crash on macOS

This commit is contained in:
Thomas Ricouard 2023-12-29 14:21:12 +01:00
parent 59c0b841c2
commit 67969f595a

View file

@ -27,6 +27,7 @@ struct AboutView: View {
var body: some View {
List {
Section {
#if !targetEnvironment(macCatalyst)
HStack {
Spacer()
Image(uiImage: .init(named: "AppIconAlternate0")!)
@ -47,6 +48,7 @@ struct AboutView: View {
.cornerRadius(4)
Spacer()
}
#endif
Link(destination: URL(string: "https://github.com/Dimillian/IceCubesApp/blob/main/PRIVACY.MD")!) {
Label("settings.support.privacy-policy", systemImage: "lock")
}