mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-11-22 05:42:33 +03:00
upgrade for video
This commit is contained in:
parent
51cbd46f7d
commit
73630223d4
@ -47,7 +47,7 @@
|
||||
"react-native-extended-stylesheet": "^0.10.0",
|
||||
"react-native-fast-image": "^4.0.14",
|
||||
"react-native-html-renderer": "^1.0.0",
|
||||
"react-native-image-crop-picker": "^0.21.3",
|
||||
"react-native-image-crop-picker": "^0.23.0",
|
||||
"react-native-keyboard-aware-scroll-view": "^0.8.0",
|
||||
"react-native-linear-gradient": "^2.4.2",
|
||||
"react-native-markdown-renderer": "^3.2.8",
|
||||
|
@ -90,7 +90,11 @@ class EditorContainer extends Component {
|
||||
this.setState(
|
||||
{
|
||||
isEdit,
|
||||
draftPost: { title: post.title, body: post.markdownBody, tags: post.json_metadata.tags },
|
||||
draftPost: {
|
||||
title: post.title,
|
||||
body: post.markdownBody,
|
||||
tags: post.json_metadata.tags,
|
||||
},
|
||||
},
|
||||
() => {
|
||||
this._getPurePost(post.author, post.permlink);
|
||||
@ -170,7 +174,7 @@ class EditorContainer extends Component {
|
||||
|
||||
_handleOpenCamera = () => {
|
||||
ImagePicker.openCamera({
|
||||
includeBase64: true,
|
||||
mediaType: 'video',
|
||||
})
|
||||
.then((image) => {
|
||||
this._handleMediaOnSelected(image);
|
||||
@ -293,8 +297,8 @@ class EditorContainer extends Component {
|
||||
|
||||
_submitPost = async (fields) => {
|
||||
const {
|
||||
navigation, currentAccount, pinCode, intl, isDefaultFooter,
|
||||
} = this.props;
|
||||
navigation, currentAccount, pinCode, intl, isDefaultFooter
|
||||
} = this.props;
|
||||
|
||||
if (currentAccount) {
|
||||
this.setState({ isPostSending: true });
|
||||
|
Loading…
Reference in New Issue
Block a user