Show room name in delete confirmation.

This commit is contained in:
oshawott 2022-03-26 01:20:06 +11:00
parent 87d16f355c
commit 50aaa476ab

View File

@ -24,7 +24,7 @@ export const NavigatorRoomSettingsBasicTabView: FC<NavigatorRoomSettingsTabViewP
const deleteRoom = () =>
{
NotificationUtilities.confirm(LocalizeText('navigator.roomsettings.deleteroom.confirm.message'), () =>
NotificationUtilities.confirm(LocalizeText('navigator.roomsettings.deleteroom.confirm.message', [ 'room_name' ], [ roomSettingsData.roomName ] ), () =>
{
SendMessageComposer(new RoomDeleteComposer(roomSettingsData.roomId));