forked from zelo72/mastodon-ios
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()
|
||||
|
||||
if traitCollection.userInterfaceIdiom == .phone {
|
||||
view.backgroundColor = Asset.Welcome.Illustration.backgroundCyan.color
|
||||
welcomeIllustrationView.translatesAutoresizingMaskIntoConstraints = false
|
||||
view.addSubview(welcomeIllustrationView)
|
||||
welcomeIllustrationViewBottomAnchorLayoutConstraint = welcomeIllustrationView.bottomAnchor.constraint(equalTo: view.bottomAnchor)
|
||||
|
@ -74,6 +73,8 @@ extension WelcomeViewController {
|
|||
welcomeIllustrationView.rightAnchor.constraint(equalTo: view.rightAnchor, constant: 44),
|
||||
welcomeIllustrationViewBottomAnchorLayoutConstraint!,
|
||||
])
|
||||
view.backgroundColor = .black
|
||||
welcomeIllustrationView.alpha = 0.9
|
||||
}
|
||||
|
||||
view.addSubview(logoImageView)
|
||||
|
|
Loading…
Reference in New Issue