diff --git a/SF50 TOLD/Views/Loading/LoadingConsentView.swift b/SF50 TOLD/Views/Loading/LoadingConsentView.swift index 57c92546..4556e7d9 100644 --- a/SF50 TOLD/Views/Loading/LoadingConsentView.swift +++ b/SF50 TOLD/Views/Loading/LoadingConsentView.swift @@ -16,7 +16,7 @@ struct LoadingConsentView: View { VStack(alignment: .center, spacing: 20) { Image("Logo") .resizable() - .aspectRatio(contentMode: .fit) + .scaledToFit() .frame(maxWidth: 200, alignment: .center) .accessibilityHidden(true) diff --git a/SF50 TOLD/Views/Loading/LoadingProgressView.swift b/SF50 TOLD/Views/Loading/LoadingProgressView.swift index a1473720..985789ad 100644 --- a/SF50 TOLD/Views/Loading/LoadingProgressView.swift +++ b/SF50 TOLD/Views/Loading/LoadingProgressView.swift @@ -40,7 +40,7 @@ struct LoadingProgressView: View { VStack { Image("Logo") .resizable() - .aspectRatio(contentMode: .fit) + .scaledToFit() .frame(maxWidth: 200, alignment: .center) .accessibilityHidden(true) Text("Loading latest airport information…") diff --git a/SF50 TOLD/Views/Overlays/ErrorSheet.swift b/SF50 TOLD/Views/Overlays/ErrorSheet.swift index 53792cac..b8c91d0d 100644 --- a/SF50 TOLD/Views/Overlays/ErrorSheet.swift +++ b/SF50 TOLD/Views/Overlays/ErrorSheet.swift @@ -9,7 +9,7 @@ struct ErrorSheet: View { HStack(alignment: .top) { Image(systemName: "xmark.octagon") .resizable() - .aspectRatio(contentMode: .fit) + .scaledToFit() .frame(maxHeight: 40) .accessibilityHidden(true) VStack(alignment: .leading, spacing: 20) { diff --git a/SF50 TOLD/Views/Pickers/AirportPicker/Location/LocationErrorView.swift b/SF50 TOLD/Views/Pickers/AirportPicker/Location/LocationErrorView.swift index a7045f3f..ab162b6b 100644 --- a/SF50 TOLD/Views/Pickers/AirportPicker/Location/LocationErrorView.swift +++ b/SF50 TOLD/Views/Pickers/AirportPicker/Location/LocationErrorView.swift @@ -8,7 +8,7 @@ struct LocationErrorView: View { HStack(alignment: .top) { Image(systemName: "xmark.octagon") .resizable() - .aspectRatio(contentMode: .fit) + .scaledToFit() .frame(maxHeight: 40) .accessibilityHidden(true) VStack(alignment: .leading, spacing: 20) { diff --git a/SF50 TOLD/Views/WelcomeView.swift b/SF50 TOLD/Views/WelcomeView.swift index bfb642f8..9557bcb0 100644 --- a/SF50 TOLD/Views/WelcomeView.swift +++ b/SF50 TOLD/Views/WelcomeView.swift @@ -29,7 +29,7 @@ struct WelcomeView: View { VStack { Image("Logo") .resizable() - .aspectRatio(contentMode: .fit) + .scaledToFit() .frame(maxWidth: 200, alignment: .center) .accessibilityHidden(true) Text("Welcome to SF50 TOLD")