diff options
| author | Jon Petersson <jon.petersson@kvadrat.se> | 2024-10-02 14:23:03 +0200 |
|---|---|---|
| committer | Bug Magnet <marco.nikic@mullvad.net> | 2024-10-07 15:03:37 +0200 |
| commit | 924f329f3d6dd33b87d3773ee4991940880f0513 (patch) | |
| tree | 167ad7ce0a9b6289864a8194fc85a987324d2494 | |
| parent | f0587ad75754d5a669ce264f6d665a9614b05e03 (diff) | |
| download | mullvadvpn-924f329f3d6dd33b87d3773ee4991940880f0513.tar.xz mullvadvpn-924f329f3d6dd33b87d3773ee4991940880f0513.zip | |
Fix title not having opaque background in relay filter view
| -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 |
