diff --git a/Riot/Modules/Room/TimelineCells/Call/Direct/RoomDirectCallStatusCell.swift b/Riot/Modules/Room/TimelineCells/Call/Direct/RoomDirectCallStatusCell.swift index 84e3973e4..5dc216d02 100644 --- a/Riot/Modules/Room/TimelineCells/Call/Direct/RoomDirectCallStatusCell.swift +++ b/Riot/Modules/Room/TimelineCells/Call/Direct/RoomDirectCallStatusCell.swift @@ -111,6 +111,11 @@ class RoomDirectCallStatusCell: RoomCallBaseCell { } } + // Tchap: report VoIP problem button icon 􀌭 + private var reportVoIPProblemButtonIcon: UIImage { + return UIImage(systemName: "exclamationmark.circle.fill")! + } + private var actionUserInfo: [AnyHashable: Any]? { if let event = callInviteEvent { return [kMXKRoomBubbleCellEventKey: event] @@ -179,7 +184,7 @@ class RoomDirectCallStatusCell: RoomCallBaseCell { view.firstButton.style = .positive view.firstButton.setTitle(TchapL10n.eventFormatterReportIncident, for: .normal) - view.firstButton.setImage(callButtonIcon, for: .normal) + view.firstButton.setImage(reportVoIPProblemButtonIcon, for: .normal) view.firstButton.removeTarget(nil, action: nil, for: .touchUpInside) view.firstButton.addTarget(self, action: #selector(reportIncidentAction(_:)), for: .touchUpInside) diff --git a/changelog.d/974.change b/changelog.d/974.change new file mode 100644 index 000000000..335b2cdcb --- /dev/null +++ b/changelog.d/974.change @@ -0,0 +1 @@ +Mettre une icône plus adaptée sur le bouton "Signaler un problème" lors d'un appel VoIP \ No newline at end of file