minor fixes
This commit is contained in:
+3
-1
@@ -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
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}];
|
||||
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user