From 71257952496b191400d60e4ff8d72464fd1c209a Mon Sep 17 00:00:00 2001 From: TolaMironcenko Date: Fri, 21 Aug 2026 18:58:35 +0700 Subject: [PATCH] Update LoginView.swift --- Sources/Shared/UI/LoginView.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) }