mirror of
https://github.com/passepartoutvpn/wireguard-apple.git
synced 2025-01-19 06:49:08 +00:00
iPad: Make sure the navigation bar is visible in the detail view
This commit is contained in:
parent
b2ad15da55
commit
9aa0c1b1f8
@ -98,7 +98,8 @@ extension TunnelsListTableViewController: TunnelEditTableViewControllerDelegate
|
||||
guard let tunnelsManager = tunnelsManager else { return }
|
||||
let tunnelDetailVC = TunnelDetailTableViewController(tunnelsManager: tunnelsManager,
|
||||
tunnel: tunnel)
|
||||
showDetailViewController(tunnelDetailVC, sender: self) // Shall get propagated up to the split-vc
|
||||
let tunnelDetailNC = UINavigationController(rootViewController: tunnelDetailVC)
|
||||
showDetailViewController(tunnelDetailNC, sender: self) // Shall get propagated up to the split-vc
|
||||
}
|
||||
func tunnelEditingCancelled() {
|
||||
// Nothing to do here
|
||||
@ -134,7 +135,8 @@ extension TunnelsListTableViewController {
|
||||
let tunnel = tunnelsManager.tunnel(at: indexPath.row)
|
||||
let tunnelDetailVC = TunnelDetailTableViewController(tunnelsManager: tunnelsManager,
|
||||
tunnel: tunnel)
|
||||
showDetailViewController(tunnelDetailVC, sender: self) // Shall get propagated up to the split-vc
|
||||
let tunnelDetailNC = UINavigationController(rootViewController: tunnelDetailVC)
|
||||
showDetailViewController(tunnelDetailNC, sender: self) // Shall get propagated up to the split-vc
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user