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

Commit

Permalink
Merge pull request #11 from realm-demos/mt/swift4-cocoa3
Browse files Browse the repository at this point in the history
using hard coded value instead of removed constant
  • Loading branch information
icanzilb authored Oct 17, 2017
2 parents 111aa25 + 211485f commit 5f46550
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 5f46550

Please sign in to comment.