mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-10 18:07:44 +02:00
Merge branch 'feature/fixed_notification_times_button_color' into 'develop'
Changed colors for notification times buttons See merge request bwmessenger/bundesmessenger/bundesmessenger-ios!167
This commit is contained in:
@@ -162,10 +162,16 @@ fileprivate struct WeekDayButton: View {
|
||||
.strokeBorder(Color.secondary, lineWidth: 1)
|
||||
.background(Circle().fill(.clear))
|
||||
}
|
||||
|
||||
Text(weekday.shortName)
|
||||
.font(.subheadline)
|
||||
.foregroundColor(.primary)
|
||||
|
||||
if weekday.isEnabled {
|
||||
Text(weekday.shortName)
|
||||
.font(.subheadline)
|
||||
.foregroundColor(Color(ThemeService.shared().theme.backgroundColor))
|
||||
} else {
|
||||
Text(weekday.shortName)
|
||||
.font(.subheadline)
|
||||
.foregroundColor(Color(ThemeService.shared().theme.tintColor))
|
||||
}
|
||||
}
|
||||
.frame(width: 38, height: 38)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user