mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 15:38:28 +02:00
MESSENGER Release 1.24.0
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user