Fix no background for various PIN input screens in dark mode.
This commit is contained in:
parent
cd04bde9d8
commit
0273dff89d
@ -23,7 +23,7 @@ public class PinConfirmationViewController: OWSViewController {
|
||||
textField.font = .systemFont(ofSize: 22)
|
||||
textField.textAlignment = .center
|
||||
textField.isSecureTextEntry = true
|
||||
textField.backgroundColor = .Signal.background
|
||||
textField.backgroundColor = .Signal.secondaryGroupedBackground
|
||||
textField.defaultTextAttributes.updateValue(5, forKey: .kern)
|
||||
textField.accessibilityIdentifier = "pinConfirmation.pinTextField"
|
||||
textField.delegate = self
|
||||
|
||||
@ -26,7 +26,7 @@ public class PinReminderViewController: OWSViewController {
|
||||
textField.font = .systemFont(ofSize: 22)
|
||||
textField.textAlignment = .center
|
||||
textField.isSecureTextEntry = true
|
||||
textField.backgroundColor = .Signal.background
|
||||
textField.backgroundColor = .Signal.secondaryGroupedBackground
|
||||
textField.defaultTextAttributes.updateValue(5, forKey: .kern)
|
||||
textField.accessibilityIdentifier = "pinReminder.pinTextField"
|
||||
textField.delegate = self
|
||||
|
||||
@ -78,7 +78,7 @@ public class PinSetupViewController: OWSViewController, OWSNavigationChildContro
|
||||
if #available(iOS 26, *) {
|
||||
textField.tintColor = .Signal.label
|
||||
}
|
||||
textField.backgroundColor = .Signal.background
|
||||
textField.backgroundColor = .Signal.secondaryGroupedBackground
|
||||
textField.font = .systemFont(ofSize: 22)
|
||||
textField.textContentType = .password
|
||||
textField.isSecureTextEntry = true
|
||||
|
||||
Loading…
Reference in New Issue
Block a user