Fix no background for various PIN input screens in dark mode.

This commit is contained in:
Igor Solomennikov 2025-10-14 17:08:56 -07:00
parent cd04bde9d8
commit 0273dff89d
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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