mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 00:52:43 +02:00
Use readableFrame and OnboardingIconImage everywhere.
Fix order of accentColor modifier.
This commit is contained in:
+3
-4
@@ -43,14 +43,13 @@ struct OnboardingCongratulationsScreen: View {
|
||||
.frame(height: OnboardingMetrics.spacerHeight(in: geometry))
|
||||
|
||||
mainContent
|
||||
.frame(maxWidth: OnboardingMetrics.maxContentWidth)
|
||||
.readableFrame()
|
||||
.padding(.top, OnboardingMetrics.breakerScreenTopPadding)
|
||||
.padding(.horizontal, horizontalPadding)
|
||||
}
|
||||
.frame(maxWidth: .infinity)
|
||||
|
||||
footer
|
||||
.frame(maxWidth: OnboardingMetrics.maxContentWidth)
|
||||
.readableFrame()
|
||||
.padding(.horizontal, horizontalPadding)
|
||||
.padding(.bottom, OnboardingMetrics.actionButtonBottomPadding)
|
||||
.padding(.bottom, geometry.safeAreaInsets.bottom > 0 ? 0 : 16)
|
||||
@@ -62,9 +61,9 @@ struct OnboardingCongratulationsScreen: View {
|
||||
}
|
||||
.overlay(effects.ignoresSafeArea())
|
||||
.background(theme.colors.accent.ignoresSafeArea())
|
||||
.accentColor(.white)
|
||||
.navigationBarHidden(true)
|
||||
.preferredColorScheme(.dark) // make the status bar white
|
||||
.accentColor(.white)
|
||||
}
|
||||
|
||||
/// The main content of the view to be shown in a scroll view.
|
||||
|
||||
Reference in New Issue
Block a user