mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 23:48:29 +02:00
Use readableFrame and OnboardingIconImage everywhere.
Fix order of accentColor modifier.
This commit is contained in:
@@ -48,14 +48,14 @@ struct OnboardingDisplayNameScreen: View {
|
||||
|
||||
buttons
|
||||
}
|
||||
.frame(maxWidth: OnboardingMetrics.maxContentWidth)
|
||||
.readableFrame()
|
||||
.padding(.horizontal)
|
||||
.padding(.top, OnboardingMetrics.topPaddingToNavigationBar)
|
||||
}
|
||||
.frame(maxWidth: .infinity, maxHeight: .infinity)
|
||||
.accentColor(theme.colors.accent)
|
||||
.frame(maxHeight: .infinity)
|
||||
.background(theme.colors.background.ignoresSafeArea())
|
||||
.alert(item: $viewModel.alertInfo) { $0.alert }
|
||||
.accentColor(theme.colors.accent)
|
||||
.onChange(of: viewModel.displayName) { _ in
|
||||
viewModel.send(viewAction: .validateDisplayName)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user