MESSENGER Release 1.24.0

This commit is contained in:
Frank Rotermund
2022-09-19 12:43:14 +02:00
parent a194ac2fe7
commit 1550ee2a9a
17 changed files with 143 additions and 13 deletions

View File

@@ -174,6 +174,13 @@ static const NSTimeInterval kActionMenuComposerHeightAnimationDuration = .3;
}
self.textView.attributedText = attributedTextMessage;
if (@available(iOS 15.0, *)) {
// Fixes an iOS 16 issue where attachment are not drawn properly by
// forcing the layoutManager to redraw the glyphs at all NSAttachment positions.
[self.textView vc_invalidateTextAttachmentsDisplay];
}
[self updateUIWithAttributedTextMessage:attributedTextMessage animated:YES];
[self textViewDidChange:self.textView];
}