From 965756b0f8f48d9e7c7f0ab5e4a93e290af33706 Mon Sep 17 00:00:00 2001 From: CMK Date: Tue, 2 Mar 2021 11:49:27 +0800 Subject: [PATCH] chore: make background black and set alpha 0.9 for the artwork --- Mastodon/Scene/Onboarding/Welcome/WelcomeViewController.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Mastodon/Scene/Onboarding/Welcome/WelcomeViewController.swift b/Mastodon/Scene/Onboarding/Welcome/WelcomeViewController.swift index abfbd885..16592f32 100644 --- a/Mastodon/Scene/Onboarding/Welcome/WelcomeViewController.swift +++ b/Mastodon/Scene/Onboarding/Welcome/WelcomeViewController.swift @@ -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)