mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-24 05:42:33 +03:00
Updated deeplink func
This commit is contained in:
parent
569e2d5abe
commit
e17a6680ad
@ -217,7 +217,9 @@ class ApplicationContainer extends Component {
|
|||||||
await getPost(author, permlink, currentAccount.name)
|
await getPost(author, permlink, currentAccount.name)
|
||||||
.then(result => {
|
.then(result => {
|
||||||
content = result;
|
content = result;
|
||||||
isHasParentPost = get(result, 'parent_permlink');
|
if (get(result, 'parent_permlink') && get(result, 'parent_author')) {
|
||||||
|
isHasParentPost = true;
|
||||||
|
}
|
||||||
})
|
})
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
this._handleAlert('deep_link.no_existing_post');
|
this._handleAlert('deep_link.no_existing_post');
|
||||||
|
Loading…
Reference in New Issue
Block a user