Fix onboarding dark mode styling and other small design tweaks
This commit is contained in:
parent
e819ec8f66
commit
2fde911cab
@ -70,6 +70,7 @@ public class Onboarding2FAViewController: OnboardingBaseViewController {
|
||||
pinTextField.delegate = self
|
||||
pinTextField.isSecureTextEntry = true
|
||||
pinTextField.textColor = Theme.primaryTextColor
|
||||
pinTextField.textAlignment = .center
|
||||
pinTextField.font = .ows_dynamicTypeBodyClamped
|
||||
pinTextField.isSecureTextEntry = true
|
||||
pinTextField.defaultTextAttributes.updateValue(5, forKey: .kern)
|
||||
@ -80,6 +81,7 @@ public class Onboarding2FAViewController: OnboardingBaseViewController {
|
||||
pinTextField.accessibilityIdentifier = "onboarding.2fa.pinTextField"
|
||||
|
||||
validationWarningLabel.textColor = .ows_accentRed
|
||||
validationWarningLabel.textAlignment = .center
|
||||
validationWarningLabel.font = UIFont.ows_dynamicTypeCaption1Clamped
|
||||
validationWarningLabel.accessibilityIdentifier = "onboarding.2fa.validationWarningLabel"
|
||||
validationWarningLabel.numberOfLines = 0
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
//
|
||||
// Copyright (c) 2019 Open Whisper Systems. All rights reserved.
|
||||
// Copyright (c) 2020 Open Whisper Systems. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
@ -65,7 +65,7 @@ public class OnboardingBaseViewController: OWSViewController {
|
||||
}
|
||||
|
||||
func linkButton(title: String, selector: Selector) -> OWSFlatButton {
|
||||
return button(title: title, selector: selector, titleColor: .ows_signalBlue, backgroundColor: .white)
|
||||
return button(title: title, selector: selector, titleColor: .ows_signalBlue, backgroundColor: .clear)
|
||||
}
|
||||
|
||||
func shouldShowBackButton() -> Bool {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user