MESSENGER-4769 color changes part 2

This commit is contained in:
Arnfried Griesert
2023-06-20 11:32:09 +00:00
committed by Frank Rotermund
parent 9315e226a0
commit 08b159b675
15 changed files with 135 additions and 28 deletions
@@ -98,7 +98,12 @@ struct RoundedBorderTextField: View {
/// The text field's border color.
private var borderColor: Color {
if isEditing {
return BWIBuildSettings.shared.bwiEnableBuMUI ? Color(hex: 0x108194) : theme.colors.accent
// bwi: 4769
if BWIBuildSettings.shared.useNewBumColors {
return Color(ThemeService.shared().theme.tintColor)
} else {
return Color(hex: 0x108194)
}
} else if footerText != nil, isError {
return theme.colors.alert
} else {