mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 08:03:50 +02:00
Add email verification screen (#6125)
Make a reusable onboarding icon view. Use a native TextField for better dynamic type support. Rename completion to callback. Add readableFrame modifier.
This commit is contained in:
@@ -33,14 +33,8 @@ struct OnboardingUseCaseSelectionScreen: View {
|
||||
/// The screen's title and instructions.
|
||||
var titleContent: some View {
|
||||
VStack(spacing: 8) {
|
||||
Image(Asset.Images.onboardingUseCaseIcon.name)
|
||||
.resizable()
|
||||
.renderingMode(.template)
|
||||
.foregroundColor(theme.colors.accent)
|
||||
.frame(width: OnboardingMetrics.iconSize, height: OnboardingMetrics.iconSize)
|
||||
.background(Circle().foregroundColor(.white).padding(2))
|
||||
OnboardingIconImage(image: Asset.Images.onboardingUseCaseIcon)
|
||||
.padding(.bottom, 8)
|
||||
.accessibilityHidden(true)
|
||||
|
||||
Text(VectorL10n.onboardingUseCaseTitle)
|
||||
.font(theme.fonts.title2B)
|
||||
|
||||
Reference in New Issue
Block a user