diff --git a/Riot/Modules/Room/Views/URLPreviews/URLPreviewView.swift b/Riot/Modules/Room/Views/URLPreviews/URLPreviewView.swift index 824549cb4..2dc06e7a6 100644 --- a/Riot/Modules/Room/Views/URLPreviews/URLPreviewView.swift +++ b/Riot/Modules/Room/Views/URLPreviews/URLPreviewView.swift @@ -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 }