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")) {