Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 6bedc02
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Expand Up @@ -171,7 +171,7 @@
<segue destination="t8d-XB-ngB" kind="push" identifier="PayAll" id="AFS-lo-piH"/> <segue destination="t8d-XB-ngB" kind="push" identifier="PayAll" id="AFS-lo-piH"/>
</connections> </connections>
</button> </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"> <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="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"/> <color key="backgroundColor" red="0.99121409650000003" green="0.90791553260000002" blue="0.3312966228" alpha="1" colorSpace="deviceRGB"/>
Expand Down
Expand Up @@ -31,7 +31,7 @@ class AccountDetailsInterfaceController: WKInterfaceController {
} }


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


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

0 comments on commit 6bedc02

Please sign in to comment.