Commit a554db24 by Demid Merzlyakov

Open Notifications screen from Radar.

parent 9142aa06
...@@ -26,6 +26,12 @@ class RadarCoordinator: Coordinator { ...@@ -26,6 +26,12 @@ class RadarCoordinator: Coordinator {
tabBarController?.add(viewController: navigationController) tabBarController?.add(viewController: navigationController)
} }
public func openNotificationsScreen() {
let notificationsCoordinator = NotificationsCoordinator(parentViewController: navigationController)
notificationsCoordinator.parentCoordinator = self
notificationsCoordinator.start()
}
func viewControllerDidEnd(controller: UIViewController) { func viewControllerDidEnd(controller: UIViewController) {
// //
} }
......
...@@ -190,7 +190,7 @@ class RadarViewController: UIViewController { ...@@ -190,7 +190,7 @@ class RadarViewController: UIViewController {
} }
@objc private func handleNotificationButton() { @objc private func handleNotificationButton() {
coordinator.openNotificationsScreen()
} }
@objc private func handleFullScreenButton() { @objc private func handleFullScreenButton() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment