From 24144d69e960363c235c6a0fc42792e9861d60db Mon Sep 17 00:00:00 2001 From: Nicolas Buquet Date: Tue, 27 Feb 2024 11:18:00 +0100 Subject: [PATCH 1/2] =?UTF-8?q?MAJ=20icone=20du=20bouton=20"Signaler=20un?= =?UTF-8?q?=20probl=C3=A8me"=20pour=20un=20call=20VoIP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Call/Direct/RoomDirectCallStatusCell.swift | 7 ++++++- changelog.d/974.change | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 changelog.d/974.change diff --git a/Riot/Modules/Room/TimelineCells/Call/Direct/RoomDirectCallStatusCell.swift b/Riot/Modules/Room/TimelineCells/Call/Direct/RoomDirectCallStatusCell.swift index 84e3973e46..94c0b8855c 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.bubble.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 0000000000..335b2cdcb4 --- /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 From 7cb492eb19e62a7306247ebed9a42318573c8c0f Mon Sep 17 00:00:00 2001 From: Nicolas Buquet Date: Tue, 5 Mar 2024 11:45:27 +0100 Subject: [PATCH 2/2] =?UTF-8?q?Utiliser=20la=20m=C3=AAme=20icone=20que=20s?= =?UTF-8?q?ur=20web?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../TimelineCells/Call/Direct/RoomDirectCallStatusCell.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Riot/Modules/Room/TimelineCells/Call/Direct/RoomDirectCallStatusCell.swift b/Riot/Modules/Room/TimelineCells/Call/Direct/RoomDirectCallStatusCell.swift index 94c0b8855c..5dc216d027 100644 --- a/Riot/Modules/Room/TimelineCells/Call/Direct/RoomDirectCallStatusCell.swift +++ b/Riot/Modules/Room/TimelineCells/Call/Direct/RoomDirectCallStatusCell.swift @@ -113,7 +113,7 @@ class RoomDirectCallStatusCell: RoomCallBaseCell { // Tchap: report VoIP problem button icon 􀌭 private var reportVoIPProblemButtonIcon: UIImage { - return UIImage(systemName: "exclamationmark.bubble.fill")! + return UIImage(systemName: "exclamationmark.circle.fill")! } private var actionUserInfo: [AnyHashable: Any]? {