mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 09:02:44 +02:00
Fix App crashes on [AvatarGenerator imageFromText:withBackgroundColor:]
https://github.com/vector-im/riot-ios/issues/657 Do not call [AvatarGenerator imageFromText:withBackgroundColor:] outside main thread.
This commit is contained in:
@@ -33,9 +33,6 @@ static NSAttributedString *readReceiptVerticalWhitespace = nil;
|
||||
|
||||
if (self)
|
||||
{
|
||||
// Use the vector style placeholder
|
||||
self.senderAvatarPlaceholder = [AvatarGenerator generateAvatarForMatrixItem:self.senderId withDisplayName:self.senderDisplayName];
|
||||
|
||||
// Increase maximum number of components
|
||||
self.maxComponentCount = 20;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user