Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
SWE-24 set title in cancellation screen
- also remove boilerplate template code
  • Loading branch information
ahm11003 committed Apr 9, 2019
1 parent b8da22e commit dbf152b
Showing 1 changed file with 2 additions and 4 deletions.
Expand Up @@ -11,7 +11,7 @@ import Foundation

class CancellationInterfaceController: WKInterfaceController {
@IBOutlet var confirmationLabel: WKInterfaceLabel!

override func awake(withContext context: Any?) {
super.awake(withContext: context)

Expand All @@ -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()
}

}

0 comments on commit dbf152b

Please sign in to comment.