diff --git a/SynchronyFinancial/SynchronyFinancial WatchKit App/Base.lproj/Interface.storyboard b/SynchronyFinancial/SynchronyFinancial WatchKit App/Base.lproj/Interface.storyboard index 72fd8a4..81d6131 100644 --- a/SynchronyFinancial/SynchronyFinancial WatchKit App/Base.lproj/Interface.storyboard +++ b/SynchronyFinancial/SynchronyFinancial WatchKit App/Base.lproj/Interface.storyboard @@ -314,7 +314,19 @@ - + + + + + + + + + diff --git a/SynchronyFinancial/SynchronyFinancial WatchKit Extension/CancellationInterfaceController.swift b/SynchronyFinancial/SynchronyFinancial WatchKit Extension/CancellationInterfaceController.swift index d49c2a6..465753a 100644 --- a/SynchronyFinancial/SynchronyFinancial WatchKit Extension/CancellationInterfaceController.swift +++ b/SynchronyFinancial/SynchronyFinancial WatchKit Extension/CancellationInterfaceController.swift @@ -9,13 +9,18 @@ import WatchKit import Foundation - class CancellationInterfaceController: WKInterfaceController { - + @IBOutlet var confirmationLabel: WKInterfaceLabel! + override func awake(withContext context: Any?) { super.awake(withContext: context) - - // Configure interface objects here. + + guard let data = context as? [String: String], let confirmation = data["cancellation_confirm"] else { + NSLog("Error receiving context for payment cancellation") + return + } + + confirmationLabel.setText(confirmation) } override func willActivate() {