From 03e6f18a04d33cfc1a02518dc90fa8de7ce210f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Wed, 24 Dec 2025 16:32:52 +0800 Subject: [PATCH] Fix iCloud profile path using wrong keyboard type --- ApplicationLibrary/Views/Profile/EditProfileView.swift | 3 --- ApplicationLibrary/Views/Profile/NewProfileView.swift | 3 --- 2 files changed, 6 deletions(-) diff --git a/ApplicationLibrary/Views/Profile/EditProfileView.swift b/ApplicationLibrary/Views/Profile/EditProfileView.swift index 5bff51f..db5b9ad 100644 --- a/ApplicationLibrary/Views/Profile/EditProfileView.swift +++ b/ApplicationLibrary/Views/Profile/EditProfileView.swift @@ -38,9 +38,6 @@ public struct EditProfileView: View { FormItem(String(localized: "Path")) { TextField("Path", text: $profile.path, prompt: Text("Required")) .multilineTextAlignment(.trailing) - #if !os(macOS) - .keyboardType(.asciiCapableNumberPad) - #endif } } else if profile.type == .remote { FormItem(String(localized: "URL")) { diff --git a/ApplicationLibrary/Views/Profile/NewProfileView.swift b/ApplicationLibrary/Views/Profile/NewProfileView.swift index 275424b..602f820 100644 --- a/ApplicationLibrary/Views/Profile/NewProfileView.swift +++ b/ApplicationLibrary/Views/Profile/NewProfileView.swift @@ -91,9 +91,6 @@ public struct NewProfileView: View { FormItem(String(localized: "Path")) { TextField("Path", text: $viewModel.remotePath, prompt: Text("Required")) .multilineTextAlignment(.trailing) - #if !os(macOS) - .keyboardType(.asciiCapableNumberPad) - #endif } } else if viewModel.profileType == .remote { FormItem(String(localized: "URL")) {