From 17dd1df3c31edb6417585059327dc2628fbecdcf Mon Sep 17 00:00:00 2001 From: Alan Maynard Date: Tue, 23 Apr 2019 19:21:05 -0400 Subject: [PATCH] SWF-17 metric calculations - modified `Account` object model to contain `lastPayment` value to drive the last payment metric - modified our account fetch to retrieve this value from the servers - remove unused `Account` properties - finished implementation for new wellness metrics --- .../Base.lproj/Interface.storyboard | 8 +++---- .../FetchData.swift | 4 +++- .../LastPaymentInterfaceController.swift | 16 ++++++-------- .../UtilizationTrendInterfaceController.swift | 2 +- .../WellnessInterfaceController.swift | 21 +++++++++++++++++-- .../SynchronyFinancial/Account.swift | 9 +++----- .../SynchronyFinancial/Defaults.swift | 12 +++++------ 7 files changed, 42 insertions(+), 30 deletions(-) diff --git a/SynchronyFinancial/SynchronyFinancial WatchKit App/Base.lproj/Interface.storyboard b/SynchronyFinancial/SynchronyFinancial WatchKit App/Base.lproj/Interface.storyboard index fdfa360..e2f6ea7 100644 --- a/SynchronyFinancial/SynchronyFinancial WatchKit App/Base.lproj/Interface.storyboard +++ b/SynchronyFinancial/SynchronyFinancial WatchKit App/Base.lproj/Interface.storyboard @@ -431,7 +431,7 @@ -