Manos Chorianopoulos

PopupMerchantsViewController ui fixes

......@@ -6453,17 +6453,17 @@
</connections>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="PopupMerchantsFooterTableViewCellId" id="f5f-VE-AbI" customClass="PopupMerchantsFooterTableViewCell" customModule="SwiftWarplyFramework" customModuleProvider="target">
<rect key="frame" x="0.0" y="106" width="414" height="60"/>
<rect key="frame" x="0.0" y="106" width="414" height="50"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="f5f-VE-AbI" id="YhO-v9-8eO">
<rect key="frame" x="0.0" y="0.0" width="414" height="60"/>
<rect key="frame" x="0.0" y="0.0" width="414" height="50"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Sqn-ZO-eeZ">
<rect key="frame" x="0.0" y="0.0" width="414" height="60"/>
<rect key="frame" x="0.0" y="0.0" width="414" height="50"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Η διαθεσιμότητα ενδέχεται να διαφέρει ανάλογα με την τοποθεσία." textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vxR-zz-pSz">
<rect key="frame" x="50" y="14" width="314" height="32"/>
<rect key="frame" x="50" y="9" width="314" height="32"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="13"/>
<color key="textColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
......@@ -6473,7 +6473,7 @@
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="trailing" secondItem="vxR-zz-pSz" secondAttribute="trailing" constant="50" id="OWO-u7-WWF"/>
<constraint firstAttribute="height" constant="60" id="eZl-5f-t1k"/>
<constraint firstAttribute="height" constant="50" id="eZl-5f-t1k"/>
<constraint firstItem="vxR-zz-pSz" firstAttribute="centerY" secondItem="Sqn-ZO-eeZ" secondAttribute="centerY" id="r24-9D-0zA"/>
<constraint firstItem="vxR-zz-pSz" firstAttribute="leading" secondItem="Sqn-ZO-eeZ" secondAttribute="leading" constant="50" id="vEI-wS-wEv"/>
</constraints>
......
......@@ -27,7 +27,7 @@ class PopupMerchantsViewController: UIViewController {
tableView.delegate = self
tableView.dataSource = self
tableView.contentInset.top = 50
tableView.contentInset.top = 40
popupView.clipsToBounds = true
popupView.layer.cornerRadius = 16
......@@ -72,7 +72,7 @@ extension PopupMerchantsViewController: UITableViewDelegate, UITableViewDataSour
return 56.0 + 32.0
// return UITableViewAutomaticDimension
} else if (indexPath.section == 1) {
return 60.0
return 50.0
} else {
return 0.0
}
......