SwiftUI Change Email View
A SwiftUI View that handles email entry when a user has intent to alter their account.
Usage
ChangeEmailView(
interactor: ChangeEmailVerificationInteractor(
user: user,
needsEmailVerification: { email in
// Navigate to email verification
}
)
)Features
- Validates text entry to guard against malformed emails, with matching error handling.
- Supports light and dark device color schemes by default.
- Supports font scaling via Dynamic Type.
- Supports offline usage in SwiftUI Previews for easy debugging and testing.