mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-15 18:59:54 +00:00
Merge pull request #1352 from ejensen/deprecated-enum
[ASTextKit] Update usage of deprecated NSControlCharacterAction value
This commit is contained in:
commit
d40b6c61c8
@ -68,7 +68,7 @@
|
||||
{
|
||||
// If it's a space character and we have custom word kerning, use the whitespace action control character.
|
||||
if ([layoutManager.textStorage.string characterAtIndex:characterIndex] == ' ')
|
||||
return NSControlCharacterWhitespaceAction;
|
||||
return NSControlCharacterActionWhitespace;
|
||||
|
||||
return defaultAction;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user