From dbf152b30890f37560310959c3832df75481e6be Mon Sep 17 00:00:00 2001 From: Alan Maynard Date: Tue, 9 Apr 2019 12:16:25 -0400 Subject: [PATCH] SWE-24 set title in cancellation screen - also remove boilerplate template code --- .../CancellationInterfaceController.swift | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/SynchronyFinancial/SynchronyFinancial WatchKit Extension/CancellationInterfaceController.swift b/SynchronyFinancial/SynchronyFinancial WatchKit Extension/CancellationInterfaceController.swift index 465753a..f904d37 100644 --- a/SynchronyFinancial/SynchronyFinancial WatchKit Extension/CancellationInterfaceController.swift +++ b/SynchronyFinancial/SynchronyFinancial WatchKit Extension/CancellationInterfaceController.swift @@ -11,7 +11,7 @@ import Foundation class CancellationInterfaceController: WKInterfaceController { @IBOutlet var confirmationLabel: WKInterfaceLabel! - + override func awake(withContext context: Any?) { super.awake(withContext: context) @@ -20,17 +20,15 @@ class CancellationInterfaceController: WKInterfaceController { return } + setTitle("Done") confirmationLabel.setText(confirmation) } override func willActivate() { - // This method is called when watch view controller is about to be visible to user super.willActivate() } override func didDeactivate() { - // This method is called when watch view controller is no longer visible super.didDeactivate() } - }