mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-23 01:52:44 +02:00
SP1.2: Invite to Space in room landing element-ios#5225
- Check user permissions to invite people
This commit is contained in:
@@ -207,6 +207,8 @@ extension OptionListViewController: UITableViewDataSource {
|
||||
extension OptionListViewController: UITableViewDelegate {
|
||||
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
|
||||
tableView.deselectRow(at: indexPath, animated: true)
|
||||
viewModel.process(viewAction: .selected(indexPath.row))
|
||||
if options[indexPath.row].enabled {
|
||||
viewModel.process(viewAction: .selected(indexPath.row))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user