From aa5d7f14d3992916d88d0e30ef362e43d1599390 Mon Sep 17 00:00:00 2001 From: Ryan ZHAO <> Date: Fri, 17 May 2024 09:45:19 +1000 Subject: [PATCH] fix home screen in light mode --- Session/Home/HomeVC.swift | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Session/Home/HomeVC.swift b/Session/Home/HomeVC.swift index 392b5f808..cc3f24166 100644 --- a/Session/Home/HomeVC.swift +++ b/Session/Home/HomeVC.swift @@ -215,7 +215,11 @@ final class HomeVC: BaseVC, LibSessionRespondingViewController, UITableViewDataS sessionLogoImage.contentMode = .scaleAspectFit sessionLogoImage.set(.height, to: 103) - let sessionTitleImage: UIImageView = UIImageView(image: UIImage(named: "SessionHeading")) + let sessionTitleImage: UIImageView = UIImageView( + image: UIImage(named: "SessionHeading")? + .withRenderingMode(.alwaysTemplate) + ) + sessionTitleImage.themeTintColor = .textPrimary sessionTitleImage.contentMode = .scaleAspectFit sessionTitleImage.set(.height, to: 22) @@ -247,7 +251,7 @@ final class HomeVC: BaseVC, LibSessionRespondingViewController, UITableViewDataS let welcomeLabel = UILabel() welcomeLabel.font = .systemFont(ofSize: Values.smallFontSize) welcomeLabel.text = "onboardingBubbleWelcomeToSession".localized() - welcomeLabel.themeTextColor = .primary + welcomeLabel.themeTextColor = .sessionButton_text welcomeLabel.textAlignment = .center let result = UIStackView(arrangedSubviews: [