refactor: Create subscriptions controller from code

This commit is contained in:
Andrea Busi
2024-06-19 14:50:00 +02:00
parent eac0f8249e
commit e0f346a4dc
4 changed files with 16 additions and 40 deletions
@@ -244,7 +244,7 @@ class AlertSimulatorViewController: UIViewController, MKMapViewDelegate {
}
private func navigateToSubscriptions() {
let controller = SubscriptionsViewController.makeViewController()
let controller = SubscriptionsViewController()
let navigationController = UINavigationController(rootViewController: controller)
present(navigationController, animated: true)
}