mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-17 06:58:28 +02:00
MESSENGER-5999 fix button color in darkmode
This commit is contained in:
@@ -82,10 +82,20 @@
|
||||
[self.leftButton.layer setCornerRadius:5];
|
||||
self.leftButton.clipsToBounds = YES;
|
||||
self.leftButton.backgroundColor = ThemeService.shared.theme.tintColor;
|
||||
// BWI: #5999 fix text color for button in dark mode
|
||||
if (!BWIBuildSettings.shared.bumLoginFlowLayout)
|
||||
{
|
||||
[self.leftButton setTitleColor: ThemeService.shared.theme.backgroundColor forState:UIControlStateNormal];
|
||||
}
|
||||
|
||||
[self.rightButton.layer setCornerRadius:5];
|
||||
self.rightButton.clipsToBounds = YES;
|
||||
self.rightButton.backgroundColor = ThemeService.shared.theme.tintColor;
|
||||
// BWI: #5999 fix text color for button in dark mode
|
||||
if (!BWIBuildSettings.shared.bumLoginFlowLayout)
|
||||
{
|
||||
[self.rightButton setTitleColor: ThemeService.shared.theme.backgroundColor forState:UIControlStateNormal];
|
||||
}
|
||||
}
|
||||
|
||||
- (void)refreshDisplay
|
||||
|
||||
Reference in New Issue
Block a user