adjustment on layout in landing screen

pull/891/head
Ryan Zhao 2 years ago
parent 8eb12b7bdc
commit 62fcc191fd

@ -22,18 +22,21 @@ struct LandingView: View {
VStack(
alignment: .center,
spacing: Values.mediumSpacing
spacing: 0
) {
Spacer()
Spacer(minLength: 0)
Text("onboarding_landing_title".localized())
.bold()
.font(.system(size: Values.veryLargeFontSize))
.foregroundColor(themeColor: .textPrimary)
.padding(.vertical, Values.mediumSpacing)
.padding(.bottom, Values.largeSpacing)
FakeChat($numberOfBubblesShown)
.padding(.bottom, Values.mediumSpacing)
.onAppear {
guard numberOfBubblesShown < 4 else { return }
Timer.scheduledTimerOnMainThread(withTimeInterval: 0.2, repeats: false) { _ in
withAnimation(.spring().speed(0.68)) {
numberOfBubblesShown = 1
@ -49,15 +52,15 @@ struct LandingView: View {
}
}
Spacer()
Spacer(minLength: 0)
}
.padding(.vertical, Values.mediumSpacing)
.padding(.bottom, Values.massiveSpacing + 3 * Values.largeButtonHeight)
.padding(.bottom, 3 * Values.largeButtonHeight)
VStack(
alignment: .center,
spacing: Values.mediumSpacing)
{
spacing: Values.mediumSpacing
) {
Spacer()
Button {

Loading…
Cancel
Save