room leaving prompt dialog now waits user to confirm leaving before do so (#7124)

This commit is contained in:
Nikita Fedrunov 2022-09-14 22:54:40 +02:00 committed by GitHub
parent 7982f4be00
commit 7631c7ac9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

1
changelog.d/7122.bugfix Normal file
View File

@ -0,0 +1 @@
[App Layout] Room leaving prompt dialog now waits user to confirm leaving before do so

View File

@ -123,7 +123,6 @@ class HomeRoomListFragment :
roomListViewModel.handle(HomeRoomListAction.ToggleTag(quickAction.roomId, RoomTag.ROOM_TAG_LOW_PRIORITY))
}
is RoomListQuickActionsSharedAction.Leave -> {
roomListViewModel.handle(HomeRoomListAction.LeaveRoom(quickAction.roomId))
promptLeaveRoom(quickAction.roomId)
}
}