diff options
| -rw-r--r-- | ios/MullvadVPN/Coordinators/CustomLists/CustomListCellConfiguration.swift | 1 | ||||
| -rw-r--r-- | ios/MullvadVPN/View controllers/SelectLocation/LocationCell.swift | 5 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ios/MullvadVPN/Coordinators/CustomLists/CustomListCellConfiguration.swift b/ios/MullvadVPN/Coordinators/CustomLists/CustomListCellConfiguration.swift index b1db9122eb..4731a74cc8 100644 --- a/ios/MullvadVPN/Coordinators/CustomLists/CustomListCellConfiguration.swift +++ b/ios/MullvadVPN/Coordinators/CustomLists/CustomListCellConfiguration.swift @@ -75,6 +75,7 @@ struct CustomListCellConfiguration { contentConfiguration.setPlaceholder(type: .required) contentConfiguration.textFieldProperties = .withSmartFeaturesDisabled() contentConfiguration.inputText = subject.value.name + contentConfiguration.maxLength = 30 contentConfiguration.editingEvents.onChange = subject.bindTextAction(to: \.name) cell.contentConfiguration = contentConfiguration diff --git a/ios/MullvadVPN/View controllers/SelectLocation/LocationCell.swift b/ios/MullvadVPN/View controllers/SelectLocation/LocationCell.swift index d68417f4c3..63ff5bcaee 100644 --- a/ios/MullvadVPN/View controllers/SelectLocation/LocationCell.swift +++ b/ios/MullvadVPN/View controllers/SelectLocation/LocationCell.swift @@ -20,9 +20,8 @@ class LocationCell: UITableViewCell { let label = UILabel() label.font = UIFont.systemFont(ofSize: 16) label.textColor = .white - label.lineBreakMode = .byWordWrapping - label.numberOfLines = 0 - label.lineBreakStrategy = [] + label.lineBreakMode = .byTruncatingTail + label.numberOfLines = 1 return label }() |
