minor fixes
This commit is contained in:
1 parent
7cd857a38b
commit
88bc5c7551
3 files changed
+6
-2
No files matched your search
+3
-1
@@ -131,7 +131,9 @@ final class OSCProfilesTableViewController: UIViewController, UITableViewDelegat
|
|||||||
)
|
)
|
||||||
inputAlert.addTextField { textField in
|
inputAlert.addTextField { textField in
|
||||||
textField.placeholder = SwiftLocalizationHelper.localizedString(forKey: "name")
|
textField.placeholder = SwiftLocalizationHelper.localizedString(forKey: "name")
|
||||||
textField.textColor = .lightGray
|
if #available(iOS 13.0, *) {
|
||||||
|
// textField.textColor = .label
|
||||||
|
}
|
||||||
textField.clearButtonMode = .whileEditing
|
textField.clearButtonMode = .whileEditing
|
||||||
textField.borderStyle = .none
|
textField.borderStyle = .none
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2239,7 +2239,7 @@ BOOL isCustomResolution(int resolutionSelected) {
|
|||||||
|
|
||||||
[alertController addTextFieldWithConfigurationHandler:^(UITextField *textField) {
|
[alertController addTextFieldWithConfigurationHandler:^(UITextField *textField) {
|
||||||
textField.placeholder = [LocalizationHelper localizedStringForKey:@"%d", self->oswLayoutFingers];
|
textField.placeholder = [LocalizationHelper localizedStringForKey:@"%d", self->oswLayoutFingers];
|
||||||
textField.keyboardType = UIKeyboardTypeNumberPad;
|
textField.keyboardType = UIKeyboardTypeASCIICapable;
|
||||||
textField.delegate = self;
|
textField.delegate = self;
|
||||||
}];
|
}];
|
||||||
|
|
||||||
|
|||||||
@@ -1309,9 +1309,11 @@ struct KeyView: View {
|
|||||||
if let name = key.sfSymbolName, !name.isEmpty {
|
if let name = key.sfSymbolName, !name.isEmpty {
|
||||||
Image(systemName: name)
|
Image(systemName: name)
|
||||||
.font(.system(size: fontSize))
|
.font(.system(size: fontSize))
|
||||||
|
.foregroundColor(.black)
|
||||||
} else {
|
} else {
|
||||||
Text(key.label)
|
Text(key.label)
|
||||||
.font(.system(size: fontSize, weight: .regular, design: .rounded))
|
.font(.system(size: fontSize, weight: .regular, design: .rounded))
|
||||||
|
.foregroundColor(.black)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user