Skip to content

Commit

Permalink
TrackSelectorView: Fix header text color
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikanbu committed Oct 18, 2021
1 parent e23cc72 commit 907a4f3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Sources/Playback/VideoPlayer/TrackSelectorView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,12 @@ extension TrackSelectorView: UITableViewDelegate, UITableViewDataSource {
return NSLocalizedString("UNKNOWN_TRACK_TYPE", comment: "")
}

func tableView(_ tableView: UITableView, willDisplayHeaderView view: UIView, forSection section: Int) {
if let headerView = view as? UITableViewHeaderFooterView {
headerView.textLabel?.textColor = PresentationTheme.darkTheme.colors.cellTextColor
}
}

func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = UITableViewCell()

Expand Down

0 comments on commit 907a4f3

Please sign in to comment.