chore: make background black and set alpha 0.9 for the artwork
This commit is contained in:
parent
08d9f67f00
commit
965756b0f8
|
@ -65,7 +65,6 @@ extension WelcomeViewController {
|
||||||
setupOnboardingAppearance()
|
setupOnboardingAppearance()
|
||||||
|
|
||||||
if traitCollection.userInterfaceIdiom == .phone {
|
if traitCollection.userInterfaceIdiom == .phone {
|
||||||
view.backgroundColor = Asset.Welcome.Illustration.backgroundCyan.color
|
|
||||||
welcomeIllustrationView.translatesAutoresizingMaskIntoConstraints = false
|
welcomeIllustrationView.translatesAutoresizingMaskIntoConstraints = false
|
||||||
view.addSubview(welcomeIllustrationView)
|
view.addSubview(welcomeIllustrationView)
|
||||||
welcomeIllustrationViewBottomAnchorLayoutConstraint = welcomeIllustrationView.bottomAnchor.constraint(equalTo: view.bottomAnchor)
|
welcomeIllustrationViewBottomAnchorLayoutConstraint = welcomeIllustrationView.bottomAnchor.constraint(equalTo: view.bottomAnchor)
|
||||||
|
@ -74,6 +73,8 @@ extension WelcomeViewController {
|
||||||
welcomeIllustrationView.rightAnchor.constraint(equalTo: view.rightAnchor, constant: 44),
|
welcomeIllustrationView.rightAnchor.constraint(equalTo: view.rightAnchor, constant: 44),
|
||||||
welcomeIllustrationViewBottomAnchorLayoutConstraint!,
|
welcomeIllustrationViewBottomAnchorLayoutConstraint!,
|
||||||
])
|
])
|
||||||
|
view.backgroundColor = .black
|
||||||
|
welcomeIllustrationView.alpha = 0.9
|
||||||
}
|
}
|
||||||
|
|
||||||
view.addSubview(logoImageView)
|
view.addSubview(logoImageView)
|
||||||
|
|
Loading…
Reference in New Issue