Get rid of a few cosmetic lines.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
06f61cbc99
commit
659a24250a
|
@ -20,6 +20,13 @@ class TunnelConfigurationTableViewController: UITableViewController {
|
||||||
private weak var delegate: TunnelConfigurationTableViewControllerDelegate?
|
private weak var delegate: TunnelConfigurationTableViewControllerDelegate?
|
||||||
private var tunnel: Tunnel!
|
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) {
|
func configure(context: NSManagedObjectContext, delegate: TunnelConfigurationTableViewControllerDelegate? = nil, tunnel: Tunnel? = nil) {
|
||||||
viewContext = context
|
viewContext = context
|
||||||
self.delegate = delegate
|
self.delegate = delegate
|
||||||
|
|
|
@ -26,6 +26,13 @@ class TunnelInfoTableViewController: UITableViewController {
|
||||||
self.tunnel = tunnel
|
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) {
|
override func viewWillAppear(_ animated: Bool) {
|
||||||
super .viewWillAppear(animated)
|
super .viewWillAppear(animated)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue