diff --git a/VoidLink/ViewControllers/CustomOSCViewControl/Table/OSCProfilesTableViewController.swift b/VoidLink/ViewControllers/CustomOSCViewControl/Table/OSCProfilesTableViewController.swift index bf28da7a..6c1f5bb7 100644 --- a/VoidLink/ViewControllers/CustomOSCViewControl/Table/OSCProfilesTableViewController.swift +++ b/VoidLink/ViewControllers/CustomOSCViewControl/Table/OSCProfilesTableViewController.swift @@ -131,7 +131,9 @@ final class OSCProfilesTableViewController: UIViewController, UITableViewDelegat ) inputAlert.addTextField { textField in textField.placeholder = SwiftLocalizationHelper.localizedString(forKey: "name") - textField.textColor = .lightGray + if #available(iOS 13.0, *) { + // textField.textColor = .label + } textField.clearButtonMode = .whileEditing textField.borderStyle = .none } diff --git a/VoidLink/ViewControllers/SettingsViewController.m b/VoidLink/ViewControllers/SettingsViewController.m index 50d568c0..f7d9cd68 100644 --- a/VoidLink/ViewControllers/SettingsViewController.m +++ b/VoidLink/ViewControllers/SettingsViewController.m @@ -2239,7 +2239,7 @@ BOOL isCustomResolution(int resolutionSelected) { [alertController addTextFieldWithConfigurationHandler:^(UITextField *textField) { textField.placeholder = [LocalizationHelper localizedStringForKey:@"%d", self->oswLayoutFingers]; - textField.keyboardType = UIKeyboardTypeNumberPad; + textField.keyboardType = UIKeyboardTypeASCIICapable; textField.delegate = self; }]; diff --git a/VoidLinkSwiftUI/VirtualKeyboardView.swift b/VoidLinkSwiftUI/VirtualKeyboardView.swift index 6d3814cb..fbf27a87 100644 --- a/VoidLinkSwiftUI/VirtualKeyboardView.swift +++ b/VoidLinkSwiftUI/VirtualKeyboardView.swift @@ -1309,9 +1309,11 @@ struct KeyView: View { if let name = key.sfSymbolName, !name.isEmpty { Image(systemName: name) .font(.system(size: fontSize)) + .foregroundColor(.black) } else { Text(key.label) .font(.system(size: fontSize, weight: .regular, design: .rounded)) + .foregroundColor(.black) } }