From 78c44dfec75b3a837eb465718b0693d671d5b6ef Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Thu, 9 Feb 2023 20:04:47 +0800 Subject: [PATCH] Fix layout of welcome screen on smaller devices --- .../OmnivoreKit/Sources/App/Views/WelcomeView.swift | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/apple/OmnivoreKit/Sources/App/Views/WelcomeView.swift b/apple/OmnivoreKit/Sources/App/Views/WelcomeView.swift index 466627813..008996ebe 100644 --- a/apple/OmnivoreKit/Sources/App/Views/WelcomeView.swift +++ b/apple/OmnivoreKit/Sources/App/Views/WelcomeView.swift @@ -33,10 +33,9 @@ struct WelcomeView: View { } var headlineText: some View { - Group { - Text(LocalText.welcomeTitle) - } - .font(.appLargeTitle) + Text(LocalText.welcomeTitle) + .font(.appLargeTitle) + .fixedSize(horizontal: false, vertical: true) } var headlineView: some View { @@ -76,6 +75,7 @@ struct WelcomeView: View { + Text(LocalText.privacyPolicyGeneric).underline() } .font(.appSubheadline) + .fixedSize(horizontal: false, vertical: true) .confirmationDialog("", isPresented: $showTermsLinks, titleVisibility: .hidden) { Button("View Terms of Service") { showTermsModal = true @@ -237,7 +237,7 @@ struct WelcomeView: View { } } footerView - Spacer() + Spacer(minLength: 1) Button( action: { showAdvancedLogin = true }, @@ -249,7 +249,7 @@ struct WelcomeView: View { .frame(maxWidth: .infinity, alignment: .center) } ) - .padding(.vertical) + .padding(.bottom) } .padding() .sheet(isPresented: $showEmailLoginModal) {