Fix iCloud profile path using wrong keyboard type
This commit is contained in:
@@ -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")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user