Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
1
1weather
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dmitriy Stepanets
1weather
Commits
a554db24
Commit
a554db24
authored
Apr 27, 2021
by
Demid Merzlyakov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Open Notifications screen from Radar.
parent
9142aa06
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
+7
-1
1Weather/Coordinators/RadarCoordinator.swift
+6
-0
1Weather/UI/View controllers/Radar/RadarViewController.swift
+1
-1
No files found.
1Weather/Coordinators/RadarCoordinator.swift
View file @
a554db24
...
...
@@ -26,6 +26,12 @@ class RadarCoordinator: Coordinator {
tabBarController
?
.
add
(
viewController
:
navigationController
)
}
public
func
openNotificationsScreen
()
{
let
notificationsCoordinator
=
NotificationsCoordinator
(
parentViewController
:
navigationController
)
notificationsCoordinator
.
parentCoordinator
=
self
notificationsCoordinator
.
start
()
}
func
viewControllerDidEnd
(
controller
:
UIViewController
)
{
//
}
...
...
1Weather/UI/View controllers/Radar/RadarViewController.swift
View file @
a554db24
...
...
@@ -190,7 +190,7 @@ class RadarViewController: UIViewController {
}
@objc
private
func
handleNotificationButton
()
{
coordinator
.
openNotificationsScreen
()
}
@objc
private
func
handleFullScreenButton
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment