Commit 0db63823 authored by Felix Paul Kühne's avatar Felix Paul Kühne

VLCPlaybackInfoTracksTVViewController: only actually selected tracks shall be bold

(cherry picked from commit d2baf1d6)
parent 30a5601c
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
NSInteger row = indexPath.row; NSInteger row = indexPath.row;
NSString *trackName; NSString *trackName;
trackCell.titleLabel.font = [UIFont boldSystemFontOfSize:29.]; trackCell.titleLabel.font = [UIFont systemFontOfSize:29.];
if (row >= [vpc numberOfAudioTracks]) { if (row >= [vpc numberOfAudioTracks]) {
if ([[NSUserDefaults standardUserDefaults] boolForKey:kVLCSettingUseSPDIF]) { if ([[NSUserDefaults standardUserDefaults] boolForKey:kVLCSettingUseSPDIF]) {
...@@ -118,6 +118,9 @@ ...@@ -118,6 +118,9 @@
} else { } else {
BOOL isSelected = row == [vpc indexOfCurrentAudioTrack]; BOOL isSelected = row == [vpc indexOfCurrentAudioTrack];
trackCell.selectionMarkerVisible = isSelected; trackCell.selectionMarkerVisible = isSelected;
if (isSelected) {
trackCell.titleLabel.font = [UIFont boldSystemFontOfSize:29.];
}
trackName = [vpc audioTrackNameAtIndex:row]; trackName = [vpc audioTrackNameAtIndex:row];
if (trackName != nil) { if (trackName != nil) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment