render helper update

This commit is contained in:
feruz 2019-12-23 13:13:43 +02:00
parent eefefdc558
commit d54dc77ff5
4 changed files with 7 additions and 5 deletions

View File

@ -23,7 +23,7 @@
},
"dependencies": {
"@babel/runtime": "^7.5.5",
"@esteemapp/esteem-render-helpers": "^1.2.2",
"@esteemapp/esteem-render-helpers": "^1.2.8",
"@esteemapp/react-native-autocomplete-input": "^4.2.1",
"@esteemapp/react-native-multi-slider": "^1.1.0",
"@esteemapp/react-native-render-html": "^4.1.5",

View File

@ -68,6 +68,7 @@ const CommentView = ({
handleOnUserPress={handleOnUserPress}
body={comment.body}
created={comment.created}
key={`key-${comment.permlink}`}
textSelectable={false}
/>
<View style={styles.footerWrapper}>

View File

@ -300,6 +300,7 @@ const PostBody = ({
</Modal>
<AutoHeightWebView
source={{ html }}
allowsFullscreenVideo={true}
style={{ width: isComment ? WIDTH - (32 + 29 * commentDepth) : WIDTH - 32 }}
customStyle={customStyle}
onMessage={_handleOnLinkPress}

View File

@ -1113,10 +1113,10 @@
exec-sh "^0.3.2"
minimist "^1.2.0"
"@esteemapp/esteem-render-helpers@^1.2.2":
version "1.2.6"
resolved "https://registry.yarnpkg.com/@esteemapp/esteem-render-helpers/-/esteem-render-helpers-1.2.6.tgz#fbad07801e0b836b95211ae4f41921a3058da803"
integrity sha512-UyfFalRgLIoOhFyrMDvaKsaSox2QPrRFUCHeHCeBK2tEDcp8+R8y28hxQFnziCft5nJjIV5hNCj1BngILSXcwA==
"@esteemapp/esteem-render-helpers@^1.2.8":
version "1.2.8"
resolved "https://registry.yarnpkg.com/@esteemapp/esteem-render-helpers/-/esteem-render-helpers-1.2.8.tgz#e2cf1a7dee53eb5ad8f9541fd0ed1e1b72f6076c"
integrity sha512-0lz1gMHjr19H6fecLMhnG5QPQyGx9tl+Eb2ktzpSk6j0hm9nq9fwUNVurtLCnwzIgvtfrfPzRC7apxNcuLDbnQ==
dependencies:
he "^1.2.0"
path "^0.12.7"