Skip to content

Commit

Permalink
Merge pull request #977 from tchapgouv/974-licone-signaler-un-problem…
Browse files Browse the repository at this point in the history
…e-est-la-meme-que-rappeler

MAJ icone du bouton "Signaler un problème" pour un call VoIP
  • Loading branch information
NicolasBuquet authored Mar 5, 2024
2 parents 391551f + 7cb492e commit afce04e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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)

Expand Down
1 change: 1 addition & 0 deletions changelog.d/974.change
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Mettre une icône plus adaptée sur le bouton "Signaler un problème" lors d'un appel VoIP

0 comments on commit afce04e

Please sign in to comment.