Merge branch 'dev' into ipad-landscape-support

pull/699/head
ryanzhao 3 years ago
commit de9a408ed2

@ -102,7 +102,10 @@ final class ReactionContainerView: UIView {
private func setUpViewHierarchy() {
addSubview(mainStackView)
mainStackView.pin(to: self)
mainStackView.pin(.top, to: .top, of: self)
mainStackView.pin(.leading, to: .leading, of: self)
mainStackView.pin(.trailing, to: .trailing, of: self)
mainStackView.pin(.bottom, to: .bottom, of: self, withInset: -Values.verySmallSpacing)
reactionContainerView.set(.width, to: .width, of: mainStackView)
}

@ -230,7 +230,7 @@ final class VisibleMessageCell: MessageCell, TappableLabelDelegate {
// Under bubble content
addSubview(underBubbleStackView)
underBubbleStackView.pin(.top, to: .bottom, of: snContentView, withInset: 5)
underBubbleStackView.pin(.top, to: .bottom, of: snContentView, withInset: Values.verySmallSpacing)
underBubbleStackView.pin(.bottom, to: .bottom, of: self)
underBubbleStackView.addArrangedSubview(reactionContainerView)

Loading…
Cancel
Save