Skip to content

Commit a3d2d1c

Browse files
committed
Remove hugging priority for dateTitleLabel
1 parent 738d251 commit a3d2d1c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Source/DateTimePicker.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,6 @@ public protocol DateTimePickerDelegate {
285285
dateTitleLabel.translatesAutoresizingMaskIntoConstraints = false
286286
dateTitleLabel.centerYAnchor.constraint(equalTo: titleView.centerYAnchor).isActive = true
287287
dateTitleLabel.centerXAnchor.constraint(equalTo: titleView.centerXAnchor).isActive = true
288-
dateTitleLabel.setContentHuggingPriority(UILayoutPriority(rawValue: 250), for: UILayoutConstraintAxis(rawValue: 0)!)
289288

290289
cancelButton = UIButton(type: .system)
291290
cancelButton.setTitle(cancelButtonTitle, for: .normal)

0 commit comments

Comments
 (0)