Fix remove additional height for buttons at bottom for transfer ticket flow for iPhone X

pull/143/head
Hwee-Boon Yar 7 years ago
parent 637a7dfffb
commit 3af9955c68
  1. 2
      Trust/Transfer/ViewControllers/TransferTicketsQuantitySelectionViewController.swift
  2. 2
      Trust/Transfer/ViewControllers/TransferTicketsViewController.swift

@ -97,7 +97,7 @@ class TransferTicketsQuantitySelectionViewController: UIViewController {
footerBar.leadingAnchor.constraint(equalTo: view.leadingAnchor),
footerBar.trailingAnchor.constraint(equalTo: view.trailingAnchor),
footerBar.topAnchor.constraint(equalTo: view.layoutGuide.bottomAnchor, constant: -buttonsHeight),
footerBar.heightAnchor.constraint(equalToConstant: buttonsHeight),
footerBar.bottomAnchor.constraint(equalTo: view.bottomAnchor),
])
}

@ -76,7 +76,7 @@ class TransferTicketsViewController: UIViewController {
footerBar.leadingAnchor.constraint(equalTo: view.leadingAnchor),
footerBar.trailingAnchor.constraint(equalTo: view.trailingAnchor),
footerBar.topAnchor.constraint(equalTo: view.layoutGuide.bottomAnchor, constant: -buttonsHeight),
footerBar.heightAnchor.constraint(equalToConstant: buttonsHeight),
footerBar.bottomAnchor.constraint(equalTo: view.bottomAnchor),
])
}

Loading…
Cancel
Save