diff --git a/WireGuard/ViewControllers/TunnelConfigurationTableViewController.swift b/WireGuard/ViewControllers/TunnelConfigurationTableViewController.swift index bf6ad14..5edafad 100644 --- a/WireGuard/ViewControllers/TunnelConfigurationTableViewController.swift +++ b/WireGuard/ViewControllers/TunnelConfigurationTableViewController.swift @@ -20,6 +20,13 @@ class TunnelConfigurationTableViewController: UITableViewController { private weak var delegate: TunnelConfigurationTableViewControllerDelegate? private var tunnel: Tunnel! + override func viewDidLoad() { + super.viewDidLoad() + + // Get rid of seperator lines in table. + tableView.tableFooterView = UIView(frame: CGRect.zero) + } + func configure(context: NSManagedObjectContext, delegate: TunnelConfigurationTableViewControllerDelegate? = nil, tunnel: Tunnel? = nil) { viewContext = context self.delegate = delegate diff --git a/WireGuard/ViewControllers/TunnelInfoTableViewController.swift b/WireGuard/ViewControllers/TunnelInfoTableViewController.swift index cf1f05f..fe528ed 100644 --- a/WireGuard/ViewControllers/TunnelInfoTableViewController.swift +++ b/WireGuard/ViewControllers/TunnelInfoTableViewController.swift @@ -26,6 +26,13 @@ class TunnelInfoTableViewController: UITableViewController { self.tunnel = tunnel } + override func viewDidLoad() { + super.viewDidLoad() + + // Get rid of seperator lines in table. + tableView.tableFooterView = UIView(frame: CGRect.zero) + } + override func viewWillAppear(_ animated: Bool) { super .viewWillAppear(animated)