Skip to content

Commit

Permalink
fix On the registration screen, screen title isn’t displayed (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanStepanok authored May 12, 2023
1 parent d714e2c commit 529cab2
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ public struct SignUpView: View {
VStack(alignment: .center) {
ZStack {
HStack {
VStack {}
.titleSettings()
Text(AuthLocalization.SignUp.title)
.titleSettings(color: .white)
}
VStack {
Button(action: { viewModel.router.back() }, label: {
Expand Down Expand Up @@ -154,10 +154,12 @@ struct SignUpView_Previews: PreviewProvider {
SignUpView(viewModel: vm)
.preferredColorScheme(.light)
.previewDisplayName("SignUpView Light")
.loadFonts()

SignUpView(viewModel: vm)
.preferredColorScheme(.dark)
.previewDisplayName("SignUpView Dark")
.loadFonts()
}
}
#endif

0 comments on commit 529cab2

Please sign in to comment.