Showing
3 changed files
with
9 additions
and
2 deletions
No preview for this file type
... | @@ -475,6 +475,7 @@ | ... | @@ -475,6 +475,7 @@ |
475 | <outlet property="passSubtitleLabel" destination="FCo-jy-FmB" id="r0N-jp-bz0"/> | 475 | <outlet property="passSubtitleLabel" destination="FCo-jy-FmB" id="r0N-jp-bz0"/> |
476 | <outlet property="passTitleLabel" destination="ffU-yH-vAL" id="ScX-Ws-3dT"/> | 476 | <outlet property="passTitleLabel" destination="ffU-yH-vAL" id="ScX-Ws-3dT"/> |
477 | <outlet property="smLogosView" destination="O1Z-nB-jp1" id="2Kx-7S-VYb"/> | 477 | <outlet property="smLogosView" destination="O1Z-nB-jp1" id="2Kx-7S-VYb"/> |
478 | + <outlet property="supermaketPassButton" destination="Bvm-XO-0F3" id="VGj-RY-hvS"/> | ||
478 | </connections> | 479 | </connections> |
479 | </viewController> | 480 | </viewController> |
480 | <placeholder placeholderIdentifier="IBFirstResponder" id="L3t-gP-tua" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/> | 481 | <placeholder placeholderIdentifier="IBFirstResponder" id="L3t-gP-tua" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/> | ... | ... |
... | @@ -19,6 +19,7 @@ import SwiftEventBus | ... | @@ -19,6 +19,7 @@ import SwiftEventBus |
19 | @IBOutlet weak var barcodeImageHeight: NSLayoutConstraint! | 19 | @IBOutlet weak var barcodeImageHeight: NSLayoutConstraint! |
20 | @IBOutlet weak var barcodeLabel: CopyableLabel! | 20 | @IBOutlet weak var barcodeLabel: CopyableLabel! |
21 | @IBOutlet weak var couponsValueLabel: UILabel! | 21 | @IBOutlet weak var couponsValueLabel: UILabel! |
22 | + @IBOutlet weak var supermaketPassButton: UIButton! | ||
22 | @IBOutlet weak var smLogosView: UIView! | 23 | @IBOutlet weak var smLogosView: UIView! |
23 | @IBOutlet weak var mapButton: UIButton! | 24 | @IBOutlet weak var mapButton: UIButton! |
24 | 25 | ||
... | @@ -243,9 +244,14 @@ import SwiftEventBus | ... | @@ -243,9 +244,14 @@ import SwiftEventBus |
243 | couponsValueLabel.textColor = .white | 244 | couponsValueLabel.textColor = .white |
244 | 245 | ||
245 | // let formattedCost = couponsValueString.replacingOccurrences(of: ".", with: ",") | 246 | // let formattedCost = couponsValueString.replacingOccurrences(of: ".", with: ",") |
246 | - couponsValueLabel.isAccessibilityElement = true | 247 | + // couponsValueLabel.isAccessibilityElement = true |
247 | // couponsValueLabel.accessibilityLabel = "Έχεις κουπόνια συνολικής αξίας " + formattedCost + "€" | 248 | // couponsValueLabel.accessibilityLabel = "Έχεις κουπόνια συνολικής αξίας " + formattedCost + "€" |
248 | - couponsValueLabel.accessibilityLabel = "Χρησιμοποίησε τη SUPERMARKET DEALS CARD σου για να κερδίσεις έκπτωση σε επιλεγμένα προϊόντα. Ανακάλυψε τα διαθέσιμα εκπτωτικά κουπόνια στο For You." | 249 | + // couponsValueLabel.accessibilityLabel = "Χρησιμοποίησε τη SUPERMARKET DEALS CARD σου για να κερδίσεις έκπτωση σε επιλεγμένα προϊόντα. Ανακάλυψε τα διαθέσιμα εκπτωτικά κουπόνια στο For You." |
250 | + | ||
251 | + supermaketPassButton.isAccessibilityElement = true | ||
252 | + supermaketPassButton.accessibilityLabel = "Χρησιμοποίησε τη SUPERMARKET DEALS CARD σου για να κερδίσεις έκπτωση σε επιλεγμένα προϊόντα. Ανακάλυψε τα διαθέσιμα εκπτωτικά κουπόνια στο For You." | ||
253 | + supermaketPassButton.accessibilityHint = "Διπλό πάτημα για άνοιγμα" | ||
254 | + supermaketPassButton.accessibilityTraits = .button | ||
249 | 255 | ||
250 | let supermarkets: Array<swiftApi.SupermarketModel> = marketPassDetails?._supermarkets ?? [] | 256 | let supermarkets: Array<swiftApi.SupermarketModel> = marketPassDetails?._supermarkets ?? [] |
251 | 257 | ... | ... |
-
Please register or login to post a comment