File tree 2 files changed +3
-3
lines changed
View controllers/SelectLocation
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ struct CustomListCellConfiguration {
75
75
contentConfiguration. setPlaceholder ( type: . required)
76
76
contentConfiguration. textFieldProperties = . withSmartFeaturesDisabled( )
77
77
contentConfiguration. inputText = subject. value. name
78
+ contentConfiguration. maxLength = 30
78
79
contentConfiguration. editingEvents. onChange = subject. bindTextAction ( to: \. name)
79
80
80
81
cell. contentConfiguration = contentConfiguration
Original file line number Diff line number Diff line change @@ -20,9 +20,8 @@ class LocationCell: UITableViewCell {
20
20
let label = UILabel ( )
21
21
label. font = UIFont . systemFont ( ofSize: 16 )
22
22
label. textColor = . white
23
- label. lineBreakMode = . byWordWrapping
24
- label. numberOfLines = 0
25
- label. lineBreakStrategy = [ ]
23
+ label. lineBreakMode = . byTruncatingTail
24
+ label. numberOfLines = 1
26
25
return label
27
26
} ( )
28
27
You can’t perform that action at this time.
0 commit comments