diff options
| author | Bug Magnet <marco.nikic@mullvad.net> | 2025-09-19 09:04:30 +0200 |
|---|---|---|
| committer | Bug Magnet <marco.nikic@mullvad.net> | 2025-09-19 09:04:30 +0200 |
| commit | e0bb1f2eb3396b925ade89f5a46420563e59dc4c (patch) | |
| tree | a57e33b50bb236bb981075e9b18f7f256c0554c7 /ios | |
| parent | c072667ffed6b4b698cec5a4a8adff00be88c3e5 (diff) | |
| parent | cc5a18b2df09923335d5125f5c62442dce226b96 (diff) | |
| download | mullvadvpn-e0bb1f2eb3396b925ade89f5a46420563e59dc4c.tar.xz mullvadvpn-e0bb1f2eb3396b925ade89f5a46420563e59dc4c.zip | |
Merge branch 'api-access-form-cells-break-with-long-strings-ios-1280'
Diffstat (limited to 'ios')
| -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) |
