mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 16:13:42 +02:00
Add objective C support to SwiftGen assets helpers (#5533)
* Add objective C support to SwiftGen assets helpers * Use dot notation in ObjC & fix minor issues Co-authored-by: Arnaud Ringenbach <arnaud.ringenbach@niji.fr>
This commit is contained in:
@@ -350,7 +350,7 @@
|
||||
return [AvatarGenerator generateAvatarForMatrixItem:self.mxRoomMember.userId withDisplayName:self.mxRoomMember.displayname];
|
||||
}
|
||||
|
||||
return [MXKTools paintImage:[UIImage imageNamed:@"placeholder"]
|
||||
return [MXKTools paintImage:AssetImages.placeholder.image
|
||||
withColor:ThemeService.shared.theme.tintColor];
|
||||
}
|
||||
|
||||
@@ -984,7 +984,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
roomCell.avatarImageView.image = [UIImage imageNamed:@"start_chat"];
|
||||
roomCell.avatarImageView.image = AssetImages.startChat.image;
|
||||
roomCell.avatarImageView.defaultBackgroundColor = [UIColor clearColor];
|
||||
roomCell.avatarImageView.userInteractionEnabled = NO;
|
||||
roomCell.titleLabel.text = [VectorL10n roomParticipantsActionStartNewChat];
|
||||
|
||||
Reference in New Issue
Block a user