mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Fix spelling of necessary.
This commit is contained in:
@@ -837,7 +837,7 @@ static inline NSAttributedString * NSAttributedStringBySettingColorFromContext(N
|
||||
|
||||
NSAttributedString *originalAttributedText = nil;
|
||||
|
||||
// Adjust the font size to fit width, if necessarry
|
||||
// Adjust the font size to fit width, if necessary
|
||||
if (self.adjustsFontSizeToFitWidth && self.numberOfLines > 0) {
|
||||
CGFloat textWidth = [self sizeThatFits:CGSizeZero].width;
|
||||
CGFloat availableWidth = self.frame.size.width * self.numberOfLines;
|
||||
|
||||
Reference in New Issue
Block a user