From 56d4a6690f62e8dd1593688af9e7d5d1352c26fb Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Sun, 17 Nov 2019 11:32:35 -0500 Subject: [PATCH] Fix crash when displaying posts with more than 4 attachments --- Tusker/Views/Attachments/AttachmentsContainerView.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Tusker/Views/Attachments/AttachmentsContainerView.swift b/Tusker/Views/Attachments/AttachmentsContainerView.swift index 567559ad17..6faf7f73fb 100644 --- a/Tusker/Views/Attachments/AttachmentsContainerView.swift +++ b/Tusker/Views/Attachments/AttachmentsContainerView.swift @@ -129,6 +129,7 @@ class AttachmentsContainerView: UIView { moreLabel.textColor = .secondaryLabel moreLabel.textAlignment = .center moreLabel.translatesAutoresizingMaskIntoConstraints = false + moreView.addSubview(moreLabel) moreView.accessibilityLabel = moreLabel.text let topLeft = createAttachmentView(index: 0)