mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-20 20:01:56 +03:00
fix messaging and removed post message, remove comment_options for now
This commit is contained in:
parent
dac97c550e
commit
c438e50a6f
@ -295,7 +295,7 @@
|
||||
"fail": "Fail!",
|
||||
"move": "Move",
|
||||
"move_question": "Are you sure to move to drafts?",
|
||||
"success_shared": "Your post successfully shared",
|
||||
"success_shared": "Content successfully posted, fetching now",
|
||||
"success_moved": "Moved to draft",
|
||||
"permission_denied": "Permission denied",
|
||||
"permission_text": "Please, go to phone Settings and change Ecency app permissions.",
|
||||
@ -338,7 +338,7 @@
|
||||
},
|
||||
"post": {
|
||||
"reblog_alert": "Are you sure, you want to reblog?",
|
||||
"removed_hint": "The post not available yet, pull down to refresh",
|
||||
"removed_hint": "Content is not available",
|
||||
"copy_link": "Copy link",
|
||||
"reblogged": "reblogged by",
|
||||
"sponsored": "SPONSORED",
|
||||
|
@ -309,7 +309,7 @@ class EditorContainer extends Component {
|
||||
}
|
||||
|
||||
const author = currentAccount.name;
|
||||
const options = makeOptions({ author: author, permlink: permlink, operationType: '' });
|
||||
const options = null; // makeOptions({ author: author, permlink: permlink, operationType: '' });
|
||||
const parentPermlink = _tags[0] || 'hive-125125';
|
||||
|
||||
if (scheduleDate) {
|
||||
@ -349,20 +349,20 @@ class EditorContainer extends Component {
|
||||
}),
|
||||
),
|
||||
);
|
||||
|
||||
this.setState({
|
||||
isPostSending: false,
|
||||
});
|
||||
|
||||
navigation.navigate({
|
||||
routeName: ROUTES.SCREENS.POST,
|
||||
params: {
|
||||
author: get(currentAccount, 'name'),
|
||||
permlink,
|
||||
isNewPost: true,
|
||||
},
|
||||
key: permlink,
|
||||
});
|
||||
setTimeout(() => {
|
||||
this.setState({
|
||||
isPostSending: false,
|
||||
});
|
||||
navigation.navigate({
|
||||
routeName: ROUTES.SCREENS.POST,
|
||||
params: {
|
||||
author: get(currentAccount, 'name'),
|
||||
permlink,
|
||||
isNewPost: true,
|
||||
},
|
||||
key: permlink,
|
||||
});
|
||||
}, 3000);
|
||||
})
|
||||
.catch((error) => {
|
||||
this._handleSubmitFailure(error);
|
||||
@ -384,7 +384,7 @@ class EditorContainer extends Component {
|
||||
const jsonMeta = makeJsonMetadataReply(post.json_metadata.tags || ['ecency']);
|
||||
const permlink = generateReplyPermlink(post.author);
|
||||
const author = currentAccount.name;
|
||||
const options = makeOptions({ author: author, permlink: permlink, operationType: '' });
|
||||
const options = null; // makeOptions({ author: author, permlink: permlink, operationType: '' });
|
||||
const parentAuthor = post.author;
|
||||
const parentPermlink = post.permlink;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user