mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-23 05:13:04 +03:00
commit
25bec8f60a
@ -79,7 +79,7 @@ import com.android.build.OutputFile
|
||||
|
||||
project.ext.react = [
|
||||
entryFile: "index.js",
|
||||
enableHermes: false, // clean and rebuild if changing
|
||||
enableHermes: true, // clean and rebuild if changing
|
||||
]
|
||||
|
||||
apply from: "../../node_modules/react-native/react.gradle"
|
||||
|
@ -13,6 +13,7 @@
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:roundIcon="@mipmap/ic_launcher_round"
|
||||
android:allowBackup="false"
|
||||
android:largeHeap="true"
|
||||
android:theme="@style/AppTheme">
|
||||
<activity
|
||||
android:name=".MainActivity"
|
||||
|
@ -27,7 +27,7 @@ buildscript {
|
||||
jcenter()
|
||||
}
|
||||
dependencies {
|
||||
classpath("com.android.tools.build:gradle:3.4.2")
|
||||
classpath('com.android.tools.build:gradle:3.5.2')
|
||||
|
||||
classpath 'com.google.gms:google-services:4.0.2'
|
||||
classpath 'com.bugsnag:bugsnag-android-gradle-plugin:4.+'
|
||||
|
@ -74,7 +74,7 @@
|
||||
"react-native-vector-icons": "^6.6.0",
|
||||
"react-native-version": "^3.1.0",
|
||||
"react-native-version-number": "^0.3.5",
|
||||
"react-native-webview": "^7.2.7",
|
||||
"react-native-webview": "^7.5.2",
|
||||
"react-navigation": "^4.0.10",
|
||||
"react-navigation-drawer": "^2.2.2",
|
||||
"react-navigation-redux-helpers": "^2.0.8",
|
||||
|
@ -36,6 +36,7 @@ export default EStyleSheet.create({
|
||||
alignSelf: 'flex-end',
|
||||
position: 'absolute',
|
||||
right: 0,
|
||||
bottom: -10,
|
||||
},
|
||||
voteCountText: {
|
||||
alignSelf: 'center',
|
||||
|
@ -80,6 +80,7 @@ class CommentView extends PureComponent {
|
||||
<View style={[{ marginLeft: marginLeft || 29 }, styles.bodyWrapper]}>
|
||||
<PostBody
|
||||
isComment
|
||||
commentDepth={comment.depth}
|
||||
handleOnUserPress={handleOnUserPress}
|
||||
body={comment.body}
|
||||
textSelectable={false}
|
||||
|
@ -17,6 +17,7 @@ const WIDTH = Dimensions.get('window').width;
|
||||
const PostBody = ({
|
||||
navigation,
|
||||
body,
|
||||
commentDepth,
|
||||
isComment,
|
||||
textSelectable = true,
|
||||
handleOnUserPress,
|
||||
@ -208,10 +209,8 @@ const PostBody = ({
|
||||
return (
|
||||
<Fragment>
|
||||
<AutoHeightWebView
|
||||
source={{
|
||||
html: test,
|
||||
}}
|
||||
style={{ width: isComment ? WIDTH - 61 : WIDTH - 32 }}
|
||||
source={{ html: test }}
|
||||
style={{ width: isComment ? WIDTH - (32 + 29 * commentDepth) : WIDTH - 32 }}
|
||||
customStyle={customStyle}
|
||||
onMessage={_handleOnLinkPress}
|
||||
customScript={script.toString()}
|
||||
|
@ -7679,10 +7679,10 @@ react-native-version@^3.1.0:
|
||||
resolve-from "^5.0.0"
|
||||
semver "^6.0.0"
|
||||
|
||||
react-native-webview@^7.2.7:
|
||||
version "7.4.1"
|
||||
resolved "https://registry.yarnpkg.com/react-native-webview/-/react-native-webview-7.4.1.tgz#4fe42263506ea06ec56e291dcda8dedf9e900542"
|
||||
integrity sha512-AVT5HIEEWc/NZdNwXRVev0cAs1Si0O3BA4Crqyor8JbwuxUUCllLv+NK7TO3eOw/ENl+QyIPHu9dizkoycmgJQ==
|
||||
react-native-webview@^7.5.2:
|
||||
version "7.5.2"
|
||||
resolved "https://registry.yarnpkg.com/react-native-webview/-/react-native-webview-7.5.2.tgz#9da3006e03636faaa9d05f3abff46cd40bfb80f9"
|
||||
integrity sha512-e2ODq2KuTchhATosONNMZIubAzmjWoHg7WK0s1R515PVeKqOc30v6KdJy8IW5/4kw/2aal+Pb7b/F4s1zp6PFQ==
|
||||
dependencies:
|
||||
escape-string-regexp "2.0.0"
|
||||
invariant "2.2.4"
|
||||
|
Loading…
Reference in New Issue
Block a user