More tint color changes

This commit is contained in:
Arnfried Griesert
2023-03-06 22:11:23 +01:00
parent 9705d935c9
commit d5d299a357
45 changed files with 187 additions and 43 deletions
@@ -41,7 +41,7 @@ struct SegmentedPicker<Segment: Hashable & CustomStringConvertible>: View {
.font(isSelectedSegment ? theme.fonts.headline : theme.fonts.body)
.underlineBar(isSelectedSegment)
}
.accentColor(isSelectedSegment ? theme.colors.accent : theme.colors.primaryContent)
.accentColor(isSelectedSegment ? Color(ThemeService.shared().theme.tintColor) : theme.colors.primaryContent)
.accessibilityLabel(segment.description)
.accessibilityValue(isSelectedSegment ? VectorL10n.accessibilitySelected : "")
}