Skip to content
Permalink
Browse files

SWF-21 UI fixes

- was incorrectly not hiding interface objects when Recents button was tapped
- made Minimum Payment label slightly taller to support text displaying on two lines by default to avoid truncating
  • Loading branch information
ahm11003 committed Mar 29, 2019
1 parent 3ee46a5 commit 6bedc024fac7aa092d8fed7c96ab3fa2d7c70023
@@ -171,7 +171,7 @@
<segue destination="t8d-XB-ngB" kind="push" identifier="PayAll" id="AFS-lo-piH"/>
</connections>
</button>
<label width="1" height="38" alignment="center" text="Label" textAlignment="center" numberOfLines="2" id="HEu-0X-JkC"/>
<label width="1" height="43" alignment="center" text="Label" textAlignment="center" numberOfLines="2" id="HEu-0X-JkC"/>
<button width="1" alignment="center" title="Button" id="qVO-TJ-fFK">
<color key="titleColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<color key="backgroundColor" red="0.99121409650000003" green="0.90791553260000002" blue="0.3312966228" alpha="1" colorSpace="deviceRGB"/>
@@ -31,7 +31,7 @@ class AccountDetailsInterfaceController: WKInterfaceController {
}

@IBAction func recentButtonTapped() {
configureInterfaceObjects(false)
configureInterfaceObjects(true)
activityIndicator.configureForActivityIndicator()
if let alias = selectedAccount?.accountAlias {
FetchData.fetchTransactionsFor(accountAlias: alias) { transactions, error in
@@ -58,7 +58,7 @@ class PayBillInterfaceController: WKInterfaceController {
payBalanceButton.setTitle("Pay \(balanceFormatted)")

let minimumFormatted = String(format: "$%.2f", valid.minPayDue)
minimumLabel.setText("Minimum Payment: \(minimumFormatted)")
minimumLabel.setText("Minimum Payment:\n\(minimumFormatted)")
payMinimumButton.setTitle("Pay \(minimumFormatted)")
}
}

0 comments on commit 6bedc02

Please sign in to comment.
You can’t perform that action at this time.