 
     private func addSubmitButtonConstraints(keyboardHeight: CGFloat) {
         submit.constrain([
-                NSLayoutConstraint(item: submit, attribute: .bottom, relatedBy: .equal, toItem: bottomLayoutGuide, attribute: .top, multiplier: 1.0, constant: -C.padding[1] - keyboardHeight),
-                submit.constraint(.leading, toView: view, constant: C.padding[2]),
-                submit.constraint(.trailing, toView: view, constant: -C.padding[2]),
-                submit.constraint(.height, constant: C.Sizes.buttonHeight)
-            ])
+            NSLayoutConstraint(item: submit, attribute: .bottom, relatedBy: .equal, toItem: bottomLayoutGuide, attribute: .top, multiplier: 1.0, constant: -C.padding[1] - keyboardHeight),
+            submit.constraint(.leading, toView: view, constant: C.padding[2]),
+            submit.constraint(.trailing, toView: view, constant: -C.padding[2]),
+            submit.constraint(.height, constant: C.Sizes.buttonHeight) ])
     }
 
     @objc private func checkTextFields() {
-
         //TODO - These strings should be received from the store and more feedback for incorrect strings should be added
         if confirmFirstPhrase.textField.text == "liverish" && confirmSecondPhrase.textField.text == "mandarin" {
             store.perform(action: PaperPhrase.Confirmed())


import UIKit

class ConfirmPaperPhraseViewController: UIViewController {

    private let label =                 UILabel.wrapping(font: UIFont.customBody(size: 16.0))
    private let confirmFirstPhrase =    ConfirmPhrase(text: "Word 3")

    private func addConstraints() {
        header.constrainTopCorners(sidePadding: 0, topPadding: 0)
        header.constrain([
            header.constraint(.height, constant: 152.0) ])
        label.constrainBottomCorners(sidePadding: C.padding[1], bottomPadding: C.padding[2])
        confirmFirstPhrase.constrain([
            confirmFirstPhrase.constraint(toBottom: header, constant: 0.0),
            confirmFirstPhrase.constraint(.width, toView: view, constant: 0.0),
            confirmFirstPhrase.constraint(.centerX, toView: view, constant: 0.0) ])
        confirmSecondPhrase.constrain([
            confirmSecondPhrase.constraint(toBottom: confirmFirstPhrase, constant: 0.0),
            confirmSecondPhrase.constraint(.width, toView: view, constant: 0.0),
            confirmSecondPhrase.constraint(.centerX, toView: view, constant: 0.0) ])
    }

    private func addButtonActions() {
