mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-16 12:16:42 +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 {
|
var body: some View {
|
||||||
NavigationStack {
|
NavigationStack {
|
||||||
Form {
|
Form {
|
||||||
TextField("Instance url", text: $instanceName)
|
TextField("Instance URL", text: $instanceName)
|
||||||
.listRowBackground(theme.primaryBackgroundColor)
|
.listRowBackground(theme.primaryBackgroundColor)
|
||||||
|
.keyboardType(.URL)
|
||||||
|
.textContentType(.URL)
|
||||||
|
.textInputAutocapitalization(.never)
|
||||||
if let instance {
|
if let instance {
|
||||||
Button {
|
Button {
|
||||||
isSigninIn = true
|
isSigninIn = true
|
||||||
|
|
Loading…
Reference in a new issue