mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Change some invalidateCalculatedLayout to setNeedsLayout calls
This commit is contained in:
@@ -415,7 +415,7 @@
|
||||
[_textKitComponents.textStorage setAttributedString:attributedStringToDisplay];
|
||||
|
||||
// Calculated size depends on the seeded text.
|
||||
[self invalidateCalculatedLayout];
|
||||
[self setNeedsLayout];
|
||||
|
||||
// Update if placeholder is shown.
|
||||
[self _updateDisplayingPlaceholder];
|
||||
|
||||
Reference in New Issue
Block a user