Implement leave

This commit is contained in:
ismailgulek
2020-09-21 14:53:12 +03:00
parent 57f8a36c41
commit 99ab413201
7 changed files with 55 additions and 3 deletions
@@ -152,7 +152,7 @@ final class RoomInfoListViewController: UIViewController {
footer: nil)
let row_3_0 = Row(type: .destructive, icon: Asset.Images.roomActionLeave.image, text: VectorL10n.roomParticipantsLeavePromptTitle, accessoryType: .none) {
// no-op
self.viewModel.process(viewAction: .leave)
}
let section3 = Section(header: nil,
rows: [row_3_0],