From 211485f603737eda0aa0ce2135c65b1399051410 Mon Sep 17 00:00:00 2001 From: Marin Todorov Date: Tue, 17 Oct 2017 11:44:08 +0200 Subject: [PATCH] using hard coded value instead of removed constant --- RealmContent/Core/View/ImageContentCell.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RealmContent/Core/View/ImageContentCell.swift b/RealmContent/Core/View/ImageContentCell.swift index a449b3e..6b2526c 100644 --- a/RealmContent/Core/View/ImageContentCell.swift +++ b/RealmContent/Core/View/ImageContentCell.swift @@ -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 }