         }
     }
     fileprivate let isRequestAmountVisible: Bool
+    private var requestTop: NSLayoutConstraint?
+    private var requestBottom: NSLayoutConstraint?
 
     override func viewDidLoad() {
         addSubviews()

            border.constraint(toBottom: sharePopout, constant: 0.0),
            border.constraint(.centerX, toView: view),
            border.constraint(.height, constant: 1.0) ])
        request.constrain([
            request.constraint(toBottom: border, constant: C.padding[3]),
            request.constraint(.leading, toView: view, constant: C.padding[2]),
            request.constraint(.trailing, toView: view, constant: -C.padding[2]),
            request.constraint(.height, constant: C.Sizes.buttonHeight),
            request.bottomAnchor.constraint(equalTo: view.bottomAnchor, constant: -C.padding[2]) ])
        addressButton.constrain([
            addressButton.leadingAnchor.constraint(equalTo: address.leadingAnchor, constant: -C.padding[1]),
            addressButton.topAnchor.constraint(equalTo: qrCode.topAnchor),

        if !isRequestAmountVisible {
            border.isHidden = true
            request.isHidden = true
            request.constrain([
                request.heightAnchor.constraint(equalToConstant: 0.0) ])
            requestTop?.constant = 0.0
            requestBottom?.constant = 0.0
        }
        sharePopout.clipsToBounds = true
        addressButton.setBackgroundImage(UIImage.imageForColor(.secondaryShadow), for: .highlighted)
