diff options
| -rw-r--r-- | ios/MullvadVPN/Coordinators/Settings/APIAccess/Cells/SwitchCellContentView.swift | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ios/MullvadVPN/Coordinators/Settings/APIAccess/Cells/SwitchCellContentView.swift b/ios/MullvadVPN/Coordinators/Settings/APIAccess/Cells/SwitchCellContentView.swift index 10c82b6910..67613ec0bf 100644 --- a/ios/MullvadVPN/Coordinators/Settings/APIAccess/Cells/SwitchCellContentView.swift +++ b/ios/MullvadVPN/Coordinators/Settings/APIAccess/Cells/SwitchCellContentView.swift @@ -83,6 +83,7 @@ class SwitchCellContentView: UIView, UIContentView, UITextFieldDelegate { } private func addSubviews() { + switchContainer.setContentCompressionResistancePriority(.required, for: .horizontal) addConstrainedSubviews([textLabel, switchContainer]) { textLabel.pinEdgesToSuperviewMargins(.all().excluding(.trailing)) switchContainer.centerYAnchor.constraint(equalTo: centerYAnchor) |
