Skip to content

Commit

Permalink
style: swap colors out for transcript highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
rnr committed Jul 26, 2024
1 parent d7d3213 commit ed59c4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Course/Course/Presentation/Video/SubtitlesView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ public struct SubtitlesView: View {
: Theme.Fonts.bodyMedium)
.multilineTextAlignment(.leading)
.foregroundColor(subtitle.fromTo.contains(Date(milliseconds: currentTime))
? Theme.Colors.textPrimary
: Theme.Colors.accentButtonColor)
? Theme.Colors.accentButtonColor
: Theme.Colors.textPrimary)

.onChange(of: currentTime, perform: { _ in
if subtitle.fromTo.contains(Date(milliseconds: currentTime)) {
Expand Down

0 comments on commit ed59c4f

Please sign in to comment.