mirror of
https://github.com/billsonnn/nitro-react.git
synced 2025-01-19 05:46:27 +01:00
Merge branch 'deleteroom-confirm' into 'dev'
Show room name in delete confirmation. See merge request nitro/nitro-react!39
This commit is contained in:
commit
7ed6db79f7
@ -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));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user