Get rid of a few cosmetic lines.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jeroen Leenarts 2018-09-20 00:43:57 +02:00
parent 06f61cbc99
commit 659a24250a
2 changed files with 14 additions and 0 deletions

View File

@ -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

View File

@ -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)