Commit cf672620 authored by sanmarcos's avatar sanmarcos Committed by Felix Paul Kühne
Browse files

Local Network: Make the highlighted text in the cells more readable when selected


Signed-off-by: Felix Paul Kühne's avatarFelix Paul Kühne <fkuehne@videolan.org>
parent 6d8f782c
......@@ -13,6 +13,8 @@
#import "VLCLocalNetworkListCell.h"
#import "VLCStatusLabel.h"
@implementation VLCLocalNetworkListCell
+ (VLCLocalNetworkListCell *)cellWithReuseIdentifier:(NSString *)ident
......@@ -31,6 +33,13 @@
self.subtitleLabel.text = @"";
self.thumbnailView.contentMode = UIViewContentModeScaleAspectFit;
self.downloadButton.hidden = YES;
if (SYSTEM_RUNS_IOS7_OR_LATER) {
self.titleLabel.highlightedTextColor = [UIColor blackColor];
self.folderTitleLabel.highlightedTextColor = [UIColor blackColor];
self.subtitleLabel.highlightedTextColor = [UIColor blackColor];
self.statusLabel.highlightedTextColor = [UIColor blackColor];
}
}
- (void)setIsDirectory:(BOOL)isDirectory
......
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