From a7cf34c87a514490381de0665d6b9e64c35c5478 Mon Sep 17 00:00:00 2001 From: Mustafa Buyukcelebi Date: Wed, 27 Nov 2019 19:36:14 +0300 Subject: [PATCH 1/2] Fixed webview crash issue --- android/app/build.gradle | 2 +- android/app/src/main/AndroidManifest.xml | 1 + android/build.gradle | 2 +- package.json | 2 +- yarn.lock | 8 ++++---- 5 files changed, 8 insertions(+), 7 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index fe07b63c3..cd8281985 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -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" diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 4503d61ee..e8438216c 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -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"> Date: Wed, 27 Nov 2019 21:01:02 +0300 Subject: [PATCH 2/2] Fixed subcomment design issue --- src/components/comment/view/commentStyles.js | 1 + src/components/comment/view/commentView.js | 1 + src/components/postElements/body/view/postBodyView.js | 7 +++---- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/components/comment/view/commentStyles.js b/src/components/comment/view/commentStyles.js index 83defeda2..7345f67bc 100644 --- a/src/components/comment/view/commentStyles.js +++ b/src/components/comment/view/commentStyles.js @@ -36,6 +36,7 @@ export default EStyleSheet.create({ alignSelf: 'flex-end', position: 'absolute', right: 0, + bottom: -10, }, voteCountText: { alignSelf: 'center', diff --git a/src/components/comment/view/commentView.js b/src/components/comment/view/commentView.js index 650e91eef..dac606eda 100644 --- a/src/components/comment/view/commentView.js +++ b/src/components/comment/view/commentView.js @@ -80,6 +80,7 @@ class CommentView extends PureComponent {