diff --git a/WireGuard/WireGuard/UI/iOS/ViewController/TunnelDetailTableViewController.swift b/WireGuard/WireGuard/UI/iOS/ViewController/TunnelDetailTableViewController.swift index b2dca83..ea432da 100644 --- a/WireGuard/WireGuard/UI/iOS/ViewController/TunnelDetailTableViewController.swift +++ b/WireGuard/WireGuard/UI/iOS/ViewController/TunnelDetailTableViewController.swift @@ -120,7 +120,7 @@ class TunnelDetailTableViewController: UITableViewController { let editVC = TunnelEditTableViewController(tunnelsManager: self.tunnelsManager, tunnel: self.tunnel) editVC.delegate = self let editNC = UINavigationController(rootViewController: editVC) - editNC.modalPresentationStyle = .formSheet + editNC.modalPresentationStyle = .fullScreen self.present(editNC, animated: true) } } diff --git a/WireGuard/WireGuard/UI/iOS/ViewController/TunnelsListTableViewController.swift b/WireGuard/WireGuard/UI/iOS/ViewController/TunnelsListTableViewController.swift index d58b268..58d98c9 100644 --- a/WireGuard/WireGuard/UI/iOS/ViewController/TunnelsListTableViewController.swift +++ b/WireGuard/WireGuard/UI/iOS/ViewController/TunnelsListTableViewController.swift @@ -184,7 +184,7 @@ class TunnelsListTableViewController: UIViewController { func presentViewControllerForTunnelCreation(tunnelsManager: TunnelsManager) { let editVC = TunnelEditTableViewController(tunnelsManager: tunnelsManager) let editNC = UINavigationController(rootViewController: editVC) - editNC.modalPresentationStyle = .formSheet + editNC.modalPresentationStyle = .fullScreen present(editNC, animated: true) }