[Feature] Open Wikipedia app #12

Merged
javier merged 6 commits from feature/open-wikipedia-app into main 2023-04-12 23:07:43 +00:00
Showing only changes of commit efbce8dda8 - Show all commits

View File

@ -104,7 +104,20 @@ extension LocationsListViewController: UITableViewDataSource {
// MARK: - UITableViewDelegate
extension LocationsListViewController: UITableViewDelegate {}
extension LocationsListViewController: UITableViewDelegate {
// MARK: Functions
func tableView(
_ tableView: UITableView,
didSelectRowAt indexPath: IndexPath
) {
viewModel.openWikipedia(at: indexPath)
tableView.deselectRow(at: indexPath, animated: true)
}
}
// MARK: - Helpers