summaryrefslogtreecommitdiffhomepage
path: root/ios/MullvadVPN/View controllers/ProblemReport
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2023-04-26 16:18:16 +0200
committerAndrej Mihajlov <and@mullvad.net>2023-04-26 16:18:16 +0200
commit758cd55f24447e2d6c5595f4dee0f069a4eb8248 (patch)
treecf7d6d2dc73679255f403bf7653ab713e3a5806b /ios/MullvadVPN/View controllers/ProblemReport
parentbd7f9715146d39ca979cdea8694c1460b372d9ac (diff)
parent9d8df35e2e34e34863d891e07d0e3fbc2167f104 (diff)
downloadmullvadvpn-758cd55f24447e2d6c5595f4dee0f069a4eb8248.tar.xz
mullvadvpn-758cd55f24447e2d6c5595f4dee0f069a4eb8248.zip
Merge branch 'change-to-directional-layout-margins-ios-63'
Diffstat (limited to 'ios/MullvadVPN/View controllers/ProblemReport')
-rw-r--r--ios/MullvadVPN/View controllers/ProblemReport/ProblemReportSubmissionOverlayView.swift2
-rw-r--r--ios/MullvadVPN/View controllers/ProblemReport/ProblemReportViewController.swift2
2 files changed, 2 insertions, 2 deletions
diff --git a/ios/MullvadVPN/View controllers/ProblemReport/ProblemReportSubmissionOverlayView.swift b/ios/MullvadVPN/View controllers/ProblemReport/ProblemReportSubmissionOverlayView.swift
index 0b5a8b5bf5..7cba3d1ec9 100644
--- a/ios/MullvadVPN/View controllers/ProblemReport/ProblemReportSubmissionOverlayView.swift
+++ b/ios/MullvadVPN/View controllers/ProblemReport/ProblemReportSubmissionOverlayView.swift
@@ -177,7 +177,7 @@ class ProblemReportSubmissionOverlayView: UIView {
addSubviews()
transitionToState(state)
- layoutMargins = UIMetrics.contentLayoutMargins
+ directionalLayoutMargins = UIMetrics.contentLayoutMargins
}
required init?(coder: NSCoder) {
diff --git a/ios/MullvadVPN/View controllers/ProblemReport/ProblemReportViewController.swift b/ios/MullvadVPN/View controllers/ProblemReport/ProblemReportViewController.swift
index 5fa9d24c8d..b1deac8f5f 100644
--- a/ios/MullvadVPN/View controllers/ProblemReport/ProblemReportViewController.swift
+++ b/ios/MullvadVPN/View controllers/ProblemReport/ProblemReportViewController.swift
@@ -29,7 +29,7 @@ final class ProblemReportViewController: UIViewController, UITextFieldDelegate {
private lazy var containerView: UIView = {
let containerView = UIView()
containerView.translatesAutoresizingMaskIntoConstraints = false
- containerView.layoutMargins = UIMetrics.contentLayoutMargins
+ containerView.directionalLayoutMargins = UIMetrics.contentLayoutMargins
containerView.backgroundColor = .clear
return containerView
}()