Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
SWF-17 pass our metrics to page hierarchy
- uncomment switch statement on late payments
  • Loading branch information
ahm11003 committed Apr 11, 2019
1 parent 3599c77 commit 2c07f8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Expand Up @@ -20,7 +20,7 @@ class ConsistencyInterfaceController: WKInterfaceController {
super.awake(withContext: context)

//Assigns a score based on # of late payments
/*switch latePayments {
switch latePayments {
case 1:
score = 80
case 2:
Expand All @@ -29,7 +29,7 @@ class ConsistencyInterfaceController: WKInterfaceController {
score = 25
default:
score = 100
}*/
}
}

override func didAppear() {
Expand Down
Expand Up @@ -127,8 +127,6 @@ class WellnessInterfaceController: WKInterfaceController {
}*/

@IBAction func moreButtonTapped() {
print("received tapped")
let contexts = [20, 40, 60]
presentController(withNames: ["UtilizationScore", "AccountScore", "PaymentScore"], contexts: [20, 40, 60])
presentController(withNames: ["UtilizationScore", "AccountScore", "PaymentScore"], contexts: [utilizationScore, accountScore, paymentScore])
}
}

0 comments on commit 2c07f8e

Please sign in to comment.