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:
Arnfried Griesert
2023-07-26 11:29:33 +00:00
@@ -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)