Skip to content
This repository has been archived by the owner on Jan 11, 2019. It is now read-only.

Commit

Permalink
using hard coded value instead of removed constant
Browse files Browse the repository at this point in the history
  • Loading branch information
icanzilb committed Oct 17, 2017
1 parent fae99aa commit 211485f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RealmContent/Core/View/ImageContentCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public class ImageContentCell: UITableViewCell {
contentView.addSubview(img)

heightConstraint = contentView.heightAnchor.constraint(equalToConstant: 20)
heightConstraint.priority = UILayoutPriority.defaultLow
heightConstraint.priority = UILayoutPriority(rawValue: 500)
heightConstraint.isActive = true
}

Expand Down

0 comments on commit 211485f

Please sign in to comment.