Fix unsatisfiable constraints messages.

This commit is contained in:
Doug 2021-09-07 12:58:45 +01:00
parent 7448ca1002
commit 1c7adf0922

View file

@ -73,6 +73,7 @@ class URLPreviewView: UIView, NibLoadable, Themable {
static func instantiate() -> Self {
let view = Self.loadFromNib()
view.update(theme: ThemeService.shared().theme)
view.translatesAutoresizingMaskIntoConstraints = false // fixes unsatisfiable constraints encountered by the sizing view
return view
}