mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-31 18:30:12 +00:00
Adopt ASHierarchyState to replace manual checking for ASCellNode parent.
This commit is contained in:
@@ -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 NSControlCharacterActionWhitespace;
|
||||
return NSControlCharacterWhitespaceAction;
|
||||
|
||||
return defaultAction;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user