Skip to content
Projects
Groups
Snippets
Help
Sign in / Register
Toggle navigation
Minds Mobile
Project overview
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
177
Merge Requests
14
Security & Compliance
Packages
Wiki
Snippets
Members
Collapse sidebar
Close sidebar
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Minds
Minds Mobile
Commits
f7c17139
Commit
f7c17139
authored
36 minutes ago
by
Martin Santangelo
Browse files
Options
Download
(fix) is not focusing comments/conversations
parent
eb2a9249
fix/focusedurn-comment-notification
1 merge request
!428
Fix is not focusing comments/conversations
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
src/navigation/NavigationService.js
View file @
f7c17139
...
...
@@ -2,6 +2,14 @@ import { NavigationActions, StackActions, SwitchActions } from 'react-navigation
let
_navigator
;
function
getStateFrom
(
nav
)
{
let
state
=
nav
.
routes
[
nav
.
index
];
if
(
state
.
routes
)
{
state
=
getStateFrom
(
state
);
}
return
state
;
}
function
setTopLevelNavigator
(
navigatorRef
)
{
_navigator
=
navigatorRef
;
}
...
...
@@ -11,7 +19,7 @@ function getState() {
}
function
getCurrentState
()
{
return
_navigator
.
state
.
nav
.
routes
[
_navigator
.
state
.
nav
.
index
]
;
return
getStateFrom
(
_navigator
.
state
.
nav
)
;
}
function
navigate
(
routeName
,
params
)
{
...
...
This diff is collapsed.
Please
register
or
sign in
to comment