summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2022-07-26 14:20:19 +0200
committerAndrej Mihajlov <and@mullvad.net>2022-07-27 14:46:22 +0200
commit1cd58ab3c02eae06e8fcc22ea5f2185abdc7380c (patch)
treea056d82a3d099c28cf4b294c99c6170abad44ee9
parentd66a5095860a6ea8eab001c4a13173808c61b96b (diff)
downloadmullvadvpn-1cd58ab3c02eae06e8fcc22ea5f2185abdc7380c.tar.xz
mullvadvpn-1cd58ab3c02eae06e8fcc22ea5f2185abdc7380c.zip
TOS: remove comment
-rw-r--r--ios/MullvadVPN/TermsOfServiceContentView.swift2
1 files changed, 0 insertions, 2 deletions
diff --git a/ios/MullvadVPN/TermsOfServiceContentView.swift b/ios/MullvadVPN/TermsOfServiceContentView.swift
index 4e18593681..1f2740bbfb 100644
--- a/ios/MullvadVPN/TermsOfServiceContentView.swift
+++ b/ios/MullvadVPN/TermsOfServiceContentView.swift
@@ -25,8 +25,6 @@ class TermsOfServiceContentView: UIView {
)
titleLabel.lineBreakMode = .byWordWrapping
if #available(iOS 14.0, *) {
- // Disable the new line break strategy used by UIKit that moves at least two words
- // to the next line which makes the title look odd.
// See: https://stackoverflow.com/q/46200027/351305
titleLabel.lineBreakStrategy = []
}