mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-29 07:42:40 +00:00
parent
6bcb88252c
commit
5961c187cd
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ static UILabel* backgroundLabel = nil;
|
|||
|
||||
if (text.length > 0)
|
||||
{
|
||||
firstChar = [[text substringToIndex:1] uppercaseString];
|
||||
firstChar = [[text substringToIndex:NSMaxRange([text rangeOfComposedCharacterSequenceAtIndex:0])] uppercaseString];
|
||||
}
|
||||
|
||||
return firstChar;
|
||||
|
|
Loading…
Reference in a new issue