diff --git a/Sources/Shared/UI/LoginView.swift b/Sources/Shared/UI/LoginView.swift index 2c4941b..178a4a1 100644 --- a/Sources/Shared/UI/LoginView.swift +++ b/Sources/Shared/UI/LoginView.swift @@ -76,7 +76,9 @@ struct LoginView: View { Text("XMPP-аккаунт") .font(.headline) TextField("you@example.org", text: $jid) - .keyboardType(.emailAddress) + #if os(iOS) + .keyboardType(.emailAddress) + #endif .textFieldStyle(.roundedBorder) .disableAutocorrection(true) }