Fix iCloud profile path using wrong keyboard type

This commit is contained in:
世界
2025-12-24 16:32:52 +08:00
parent abc8d56ffc
commit 03e6f18a04
2 changed files with 0 additions and 6 deletions
@@ -38,9 +38,6 @@ public struct EditProfileView: View {
FormItem(String(localized: "Path")) { FormItem(String(localized: "Path")) {
TextField("Path", text: $profile.path, prompt: Text("Required")) TextField("Path", text: $profile.path, prompt: Text("Required"))
.multilineTextAlignment(.trailing) .multilineTextAlignment(.trailing)
#if !os(macOS)
.keyboardType(.asciiCapableNumberPad)
#endif
} }
} else if profile.type == .remote { } else if profile.type == .remote {
FormItem(String(localized: "URL")) { FormItem(String(localized: "URL")) {
@@ -91,9 +91,6 @@ public struct NewProfileView: View {
FormItem(String(localized: "Path")) { FormItem(String(localized: "Path")) {
TextField("Path", text: $viewModel.remotePath, prompt: Text("Required")) TextField("Path", text: $viewModel.remotePath, prompt: Text("Required"))
.multilineTextAlignment(.trailing) .multilineTextAlignment(.trailing)
#if !os(macOS)
.keyboardType(.asciiCapableNumberPad)
#endif
} }
} else if viewModel.profileType == .remote { } else if viewModel.profileType == .remote {
FormItem(String(localized: "URL")) { FormItem(String(localized: "URL")) {