From 685f11d70979f9cfc686a545af9b46c575e08b56 Mon Sep 17 00:00:00 2001 From: Juraj Hilje Date: Tue, 10 Oct 2023 21:52:44 +0200 Subject: [PATCH] fix: update UITableViewDelegate in AdvancedViewController --- .../Scenes/ViewControllers/AdvancedViewController.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IVPNClient/Scenes/ViewControllers/AdvancedViewController.swift b/IVPNClient/Scenes/ViewControllers/AdvancedViewController.swift index 90bfae2e7..6278a97a3 100644 --- a/IVPNClient/Scenes/ViewControllers/AdvancedViewController.swift +++ b/IVPNClient/Scenes/ViewControllers/AdvancedViewController.swift @@ -210,7 +210,7 @@ class AdvancedViewController: UITableViewController { extension AdvancedViewController { override func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat { - if indexPath.section == 2 && indexPath.row == 0 { + if indexPath.section == 3 && indexPath.row == 0 { return 60 } @@ -218,7 +218,7 @@ extension AdvancedViewController { } override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { - if indexPath.section == 2 && indexPath.row == 1 { + if indexPath.section == 3 && indexPath.row == 1 { tableView.deselectRow(at: indexPath, animated: true) sendLogs() }