AddAccountView: adapt keyboard to URL input

This commit is contained in:
Stanislas Lange 2022-12-30 21:13:31 +01:00
parent d1ad54248c
commit 6906069509
No known key found for this signature in database
1 changed files with 4 additions and 1 deletions

View File

@ -24,8 +24,11 @@ struct AddAccountView: View {
var body: some View {
NavigationStack {
Form {
TextField("Instance url", text: $instanceName)
TextField("Instance URL", text: $instanceName)
.listRowBackground(theme.primaryBackgroundColor)
.keyboardType(.URL)
.textContentType(.URL)
.textInputAutocapitalization(.never)
if let instance {
Button {
isSigninIn = true