From e3bb5271cb5dadd7626a82cd3d13fcc9501e8df5 Mon Sep 17 00:00:00 2001 From: Marcus Kida Date: Mon, 20 Feb 2023 11:37:47 +0100 Subject: [PATCH] Fix missing constraints edit history layout issues (IOS-2) --- .../Thread/Edit History/StatusEditHistoryTableViewCell.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Mastodon/Scene/Thread/Edit History/StatusEditHistoryTableViewCell.swift b/Mastodon/Scene/Thread/Edit History/StatusEditHistoryTableViewCell.swift index 8def44d187..975a018655 100644 --- a/Mastodon/Scene/Thread/Edit History/StatusEditHistoryTableViewCell.swift +++ b/Mastodon/Scene/Thread/Edit History/StatusEditHistoryTableViewCell.swift @@ -62,6 +62,8 @@ class StatusEditHistoryTableViewCell: UITableViewCell { grayBackground.bottomAnchor.constraint(equalTo: contentView.bottomAnchor, constant: -Self.verticalMargin), statusHistoryView.topAnchor.constraint(equalTo: grayBackground.topAnchor, constant: Self.verticalMargin), + statusHistoryView.leadingAnchor.constraint(equalTo: grayBackground.leadingAnchor), + statusHistoryView.trailingAnchor.constraint(equalTo: grayBackground.trailingAnchor), statusViewBottomConstraint, ].compactMap { $0 }