[ios] Fixed bookmarks UI in night mode

This commit is contained in:
VladiMihaylenko 2018-03-15 14:16:43 +03:00 committed by Roman Kuznetsov
parent 734ee0b095
commit cfa83e6878
5 changed files with 8 additions and 5 deletions

View file

@ -1,4 +1,4 @@
final class BMCActionsCreateCell: UITableViewCell {
final class BMCActionsCreateCell: MWMTableViewCell {
@IBOutlet private weak var actionImage: UIImageView! {
didSet {
actionImage.tintColor = .linkBlue()

View file

@ -36,7 +36,7 @@
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="paw-km-zXg" firstAttribute="centerY" secondItem="YDi-5J-vFD" secondAttribute="centerY" id="Oe0-2d-YX4"/>
<constraint firstAttribute="trailing" secondItem="2jJ-Pu-pjy" secondAttribute="trailing" constant="16" id="ZGg-bD-dnT"/>

View file

@ -21,13 +21,16 @@
</connections>
</placeholder>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT" propertyAccessControl="all">
<view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT" propertyAccessControl="none">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" canCancelContentTouches="NO" style="grouped" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="-1" estimatedSectionHeaderHeight="-1" sectionFooterHeight="1" estimatedSectionFooterHeight="1" translatesAutoresizingMaskIntoConstraints="NO" id="2ia-hi-UhQ">
<rect key="frame" x="0.0" y="20" width="375" height="647"/>
<color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="pressBackground"/>
</userDefinedRuntimeAttributes>
<connections>
<outlet property="delegate" destination="-1" id="P7h-mr-lVO"/>
</connections>

View file

@ -3,7 +3,7 @@ protocol BMCCategoryCellDelegate {
func moreAction(category: BMCCategory, anchor: UIView)
}
final class BMCCategoryCell: UITableViewCell {
final class BMCCategoryCell: MWMTableViewCell {
@IBOutlet private weak var visibility: UIButton!
@IBOutlet private weak var title: UILabel! {
didSet {

View file

@ -1,4 +1,4 @@
final class BMCNotificationsCell: UITableViewCell {
final class BMCNotificationsCell: MWMTableViewCell {
@IBOutlet private weak var spinner: UIView! {
didSet {
circularProgress = MWMCircularProgress(parentView: spinner)