diff options
| -rw-r--r-- | ios/MullvadVPN/View controllers/RelayFilter/RelayFilterViewController.swift | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ios/MullvadVPN/View controllers/RelayFilter/RelayFilterViewController.swift b/ios/MullvadVPN/View controllers/RelayFilter/RelayFilterViewController.swift index 8cfb00473b..046e466a80 100644 --- a/ios/MullvadVPN/View controllers/RelayFilter/RelayFilterViewController.swift +++ b/ios/MullvadVPN/View controllers/RelayFilter/RelayFilterViewController.swift @@ -63,9 +63,9 @@ class RelayFilterViewController: UIViewController { tableView.estimatedSectionHeaderHeight = tableView.estimatedRowHeight tableView.allowsMultipleSelection = true - view.addConstrainedSubviews([applyButton, tableView]) { + view.addConstrainedSubviews([tableView, applyButton]) { tableView.pinEdgesToSuperview(.all().excluding(.bottom)) - applyButton.pinEdgesToSuperviewMargins(.init([.leading(0), .trailing(0), .bottom(0)])) + applyButton.pinEdgesToSuperviewMargins(.all().excluding(.top)) applyButton.topAnchor.constraint( equalTo: tableView.bottomAnchor, constant: UIMetrics.contentLayoutMargins.top |
