mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-27 03:44:26 +02:00
MESSENGER-4769 color changes part 2
This commit is contained in:
committed by
Frank Rotermund
parent
9315e226a0
commit
08b159b675
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user