Update LoginView.swift
This commit is contained in:
1 parent
ef1a403fbe
commit
7125795249
1 file changed
+3
-1
@@ -76,7 +76,9 @@ struct LoginView: View {
|
|||||||
Text("XMPP-аккаунт")
|
Text("XMPP-аккаунт")
|
||||||
.font(.headline)
|
.font(.headline)
|
||||||
TextField("you@example.org", text: $jid)
|
TextField("you@example.org", text: $jid)
|
||||||
.keyboardType(.emailAddress)
|
#if os(iOS)
|
||||||
|
.keyboardType(.emailAddress)
|
||||||
|
#endif
|
||||||
.textFieldStyle(.roundedBorder)
|
.textFieldStyle(.roundedBorder)
|
||||||
.disableAutocorrection(true)
|
.disableAutocorrection(true)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user