From 69060695092c7a2c08e5467c8fd9ad3e32790eab Mon Sep 17 00:00:00 2001 From: Stanislas Lange Date: Fri, 30 Dec 2022 21:13:31 +0100 Subject: [PATCH] AddAccountView: adapt keyboard to URL input --- IceCubesApp/App/Tabs/Settings/AddAccountsView.swift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/IceCubesApp/App/Tabs/Settings/AddAccountsView.swift b/IceCubesApp/App/Tabs/Settings/AddAccountsView.swift index 062b0b1b..fb884f34 100644 --- a/IceCubesApp/App/Tabs/Settings/AddAccountsView.swift +++ b/IceCubesApp/App/Tabs/Settings/AddAccountsView.swift @@ -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