Fix crash when displaying posts with more than 4 attachments

This commit is contained in:
Shadowfacts 2019-11-17 11:32:35 -05:00
parent c91a7baaa6
commit 56d4a6690f
Signed by untrusted user: shadowfacts
GPG Key ID: 94A5AB95422746E5
1 changed files with 1 additions and 0 deletions

View File

@ -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)