diff --git a/Trust/Redeem/Views/TicketsViewControllerTitleHeader.swift b/Trust/Redeem/Views/TicketsViewControllerTitleHeader.swift index f9459e08d..29d5abb51 100644 --- a/Trust/Redeem/Views/TicketsViewControllerTitleHeader.swift +++ b/Trust/Redeem/Views/TicketsViewControllerTitleHeader.swift @@ -40,7 +40,6 @@ class TicketsViewControllerTitleHeader: UIView { } func configure(title: String) { - frame = CGRect(x: 0, y: 0, width: 300, height: 90) backgroundColor = Colors.appWhite titleLabel.textColor = Colors.appText @@ -48,4 +47,4 @@ class TicketsViewControllerTitleHeader: UIView { titleLabel.adjustsFontSizeToFitWidth = true titleLabel.text = title } -} \ No newline at end of file +} diff --git a/Trust/Sell/ViewControllers/EnterSellTicketsPriceQuantityViewController.swift b/Trust/Sell/ViewControllers/EnterSellTicketsPriceQuantityViewController.swift index af4c943f2..68689d841 100644 --- a/Trust/Sell/ViewControllers/EnterSellTicketsPriceQuantityViewController.swift +++ b/Trust/Sell/ViewControllers/EnterSellTicketsPriceQuantityViewController.swift @@ -148,9 +148,6 @@ class EnterSellTicketsPriceQuantityViewController: UIViewController { NSLayoutConstraint.activate([ header.heightAnchor.constraint(equalToConstant: 90), - //Strange repositioning of header horizontally while typing without this - header.leadingAnchor.constraint(equalTo: stackView.leadingAnchor), - header.trailingAnchor.constraint(equalTo: stackView.trailingAnchor), quantityStepper.heightAnchor.constraint(equalToConstant: 50),