From 39620bc15fbeb8c19128b478880f2cd9a81daace Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Wed, 7 Apr 2021 16:23:25 -0300 Subject: [PATCH] Apply manual layout to quoted reply component. --- SignalMessaging/Views/ManualStackView.swift | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/SignalMessaging/Views/ManualStackView.swift b/SignalMessaging/Views/ManualStackView.swift index 9b8d6c4d8d..11f8205697 100644 --- a/SignalMessaging/Views/ManualStackView.swift +++ b/SignalMessaging/Views/ManualStackView.swift @@ -617,6 +617,13 @@ public struct ManualStackSubviewInfo: Equatable { self.hasFixedHeight = hasFixedSize } + private static func setSubviewFrame(subview: UIView, frame: CGRect) { + guard subview.frame != frame else { + return + } + subview.frame = frame + } + public init(measuredSize: CGSize, subview: UIView) { self.measuredSize = measuredSize