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
220
Merge Requests
13
Security & Compliance
Packages
Analytics
Wiki
Snippets
Members
Collapse sidebar
Close sidebar
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Minds
Minds Mobile
Commits
c18978b0
Commit
c18978b0
authored
1 minute ago
by
Juan Manuel Solaro
Browse files
Options
Download
(fix) app should not crash after remind
parent
5bfba49e
new-navigation-designs
1 merge request
!504
WIP: New navigation Screens
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
11 deletions
+13
-11
src/capture/CapturePoster.js
View file @
c18978b0
...
...
@@ -9,9 +9,7 @@ import {
import
{
observer
,
inject
}
from
'
mobx-react
'
;
import
{
Icon
}
from
'
react-native-elements
'
import
{
NavigationActions
}
from
'
@react-navigation/native
'
;
import
{
CommonActions
}
from
'
@react-navigation/native
'
;
import
HashtagService
from
'
../common/services/hashtag.service
'
...
...
@@ -142,16 +140,20 @@ class CapturePoster extends Component {
const
{
params
}
=
this
.
props
.
route
;
const
routeParams
=
{
prepend
:
ActivityModel
.
checkOrCreate
(
entity
),
};
if
(
params
)
{
if
(
group
)
routeParams
.
group
=
group
;
const
routeParams
=
{
prepend
:
ActivityModel
.
checkOrCreate
(
entity
),
};
dispatch
(
NavigationActions
.
setParams
({
routeParams
,
key
:
params
.
parentKey
,
// passed from index
}));
if
(
group
)
routeParams
.
group
=
group
;
dispatch
(
CommonActions
.
setParams
({
routeParams
,
source
:
params
.
parentKey
,
// passed from index
}));
}
goBack
(
null
);
...
...
This diff is collapsed.
Please
register
or
sign in
to comment