MESSENGER-4966 color changes login flow and all chat

This commit is contained in:
JanNiklas Grabowski
2023-08-22 08:35:28 +00:00
committed by Arnfried Griesert
parent c62942c44e
commit 867a5fea98
11 changed files with 76 additions and 13 deletions

View File

@@ -97,8 +97,15 @@ final class SetupBiometricsViewController: UIViewController {
self.subtitleLabel.textColor = theme.textSecondaryColor
self.enableButton.backgroundColor = theme.tintColor
self.enableButton.tintColor = theme.baseTextPrimaryColor
self.enableButton.setTitleColor(theme.baseTextPrimaryColor, for: .normal)
// BWI: #4966
if BWIBuildSettings.shared.useNewBumColors {
self.enableButton.tintColor = theme.backgroundColor
self.enableButton.setTitleColor(theme.backgroundColor, for: .normal)
} else {
self.enableButton.tintColor = theme.baseTextPrimaryColor
self.enableButton.setTitleColor(theme.baseTextPrimaryColor, for: .normal)
}
}
private func registerThemeServiceDidChangeThemeNotification() {