refactor completed

This commit is contained in:
Mauro Romito
2023-03-06 14:59:03 +01:00
parent eb55e1553c
commit 09daa04dd4
49 changed files with 72 additions and 72 deletions
@@ -237,13 +237,13 @@ class RoomGroupCallStatusCell: RoomCallBaseCell {
TimeInterval(widgetEvent.age)/MSEC_PER_SEC < Constants.secondsToDisplayAnswerDeclineOptions {
if JitsiService.shared.isWidgetDeclined(withId: widgetId) {
innerContentView.callerNameLabel.text = room.summary.displayname
innerContentView.callerNameLabel.text = room.summary.displayName
room.summary.setRoomAvatarImageIn(innerContentView.avatarImageView)
viewState = .declined
statusText = VectorL10n.eventFormatterCallYouDeclined
} else {
innerContentView.callerNameLabel.text = VectorL10n.eventFormatterGroupCallIncoming(bubbleCellData.senderDisplayName, room.summary.displayname)
innerContentView.callerNameLabel.text = VectorL10n.eventFormatterGroupCallIncoming(bubbleCellData.senderDisplayName, room.summary.displayName)
innerContentView.avatarImageView.setImageURI(bubbleCellData.senderAvatarUrl,
withType: nil,
@@ -257,7 +257,7 @@ class RoomGroupCallStatusCell: RoomCallBaseCell {
statusText = nil
}
} else {
innerContentView.callerNameLabel.text = room.summary.displayname
innerContentView.callerNameLabel.text = room.summary.displayName
room.summary.setRoomAvatarImageIn(innerContentView.avatarImageView)
}
@@ -189,7 +189,7 @@ class RoomCreationIntroCell: MXKRoomBubbleTableViewCell {
discussionType = .room(topic: roomSummary.topic, canInvitePeople: bubbleData.canInvitePeople)
}
let displayName = roomSummary.displayname ?? ""
let displayName = roomSummary.displayName ?? ""
let roomAvatarViewData = RoomAvatarViewData(roomId: roomId,
displayName: displayName,