mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-17 04:36:39 +00:00
Merge pull request #6 from angristan/instance-url
AddAccountView: adapt keyboard to URL input
This commit is contained in:
commit
56cdc8164a
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue