mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
hide nav title if text field is focused on email auth view
This commit is contained in:
parent
f08029643b
commit
38fcbeb9a1
2 changed files with 2 additions and 2 deletions
|
|
@ -135,7 +135,7 @@ struct EmailLoginFormView: View {
|
|||
Spacer()
|
||||
}
|
||||
}
|
||||
.navigationTitle("Sign In")
|
||||
.navigationTitle(focusedField == nil ? "Sign In" : "")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -213,7 +213,7 @@ struct EmailSignupFormView: View {
|
|||
Spacer()
|
||||
}
|
||||
}
|
||||
.navigationTitle("Sign Up")
|
||||
.navigationTitle(focusedField == nil ? "Sign Up" : "")
|
||||
.task {
|
||||
viewModel.configureUsernameValidation(dataService: dataService)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue