Commit a4c0c8c6 authored by Pierre SAGASPE's avatar Pierre SAGASPE Committed by Felix Paul Kühne
Browse files

plex : replace badgeUnread.png in VLCPlexMediaInformationViewController by a white round


Signed-off-by: Felix Paul Kühne's avatarFelix Paul Kühne <fkuehne@videolan.org>
parent cadb2889
......@@ -77,10 +77,6 @@
<color key="tintColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<color key="barTintColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/>
</toolbar>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" image="badgeUnread.png" id="ls6-CJ-vRi">
<rect key="frame" x="176" y="8" width="44" height="44"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Size &amp; Time" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="7mI-at-CYu">
<rect key="frame" x="0.0" y="255" width="320" height="22"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
......@@ -88,6 +84,10 @@
<color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" id="ls6-CJ-vRi">
<rect key="frame" x="190" y="12" width="15" height="15"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
</imageView>
</subviews>
<color key="backgroundColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/>
<nil key="simulatedStatusBarMetrics"/>
......@@ -97,7 +97,6 @@
</objects>
<resources>
<image name="Downloads.png" width="17" height="25"/>
<image name="badgeUnread.png" width="35" height="35"/>
</resources>
<simulatedMetricsContainer key="defaultSimulatedMetrics">
<simulatedStatusBarMetrics key="statusBar"/>
......
......@@ -91,6 +91,10 @@
[self.size setText:displaySize];
[self.summary setText:displaySummary];
[self.badgeUnread setBackgroundColor:[UIColor whiteColor]];
self.badgeUnread.layer.cornerRadius = 10;
self.badgeUnread.layer.masksToBounds = YES;
if ([tag isEqualToString:@"watched"]) {
[self.badgeUnread setHidden:YES];
[self.markMediaButton setTitle:NSLocalizedString(@"PLEX_UNWATCHED", 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