diff --git a/android/app/build.gradle b/android/app/build.gradle index 8764c39970b9..1f161ccc89f5 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -150,8 +150,8 @@ android { minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion multiDexEnabled rootProject.ext.multiDexEnabled - versionCode 1001008603 - versionName "1.0.86-3" + versionCode 1001008604 + versionName "1.0.86-4" } splits { abi { diff --git a/ios/NewExpensify/Info.plist b/ios/NewExpensify/Info.plist index 7dbbb803c49e..00509d0f53d9 100644 --- a/ios/NewExpensify/Info.plist +++ b/ios/NewExpensify/Info.plist @@ -30,7 +30,7 @@ CFBundleVersion - 1.0.86.3 + 1.0.86.4 ITSAppUsesNonExemptEncryption LSApplicationQueriesSchemes diff --git a/ios/NewExpensifyTests/Info.plist b/ios/NewExpensifyTests/Info.plist index 825fb729d8f6..aed2abe05513 100644 --- a/ios/NewExpensifyTests/Info.plist +++ b/ios/NewExpensifyTests/Info.plist @@ -19,6 +19,6 @@ CFBundleSignature ???? CFBundleVersion - 1.0.86.3 + 1.0.86.4 diff --git a/package-lock.json b/package-lock.json index d38a1eaf8dc0..467533202e21 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "new.expensify", - "version": "1.0.86-3", + "version": "1.0.86-4", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index bf52c50538cb..5818b26999bf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "new.expensify", - "version": "1.0.86-3", + "version": "1.0.86-4", "author": "Expensify, Inc.", "homepage": "https://new.expensify.com", "description": "New Expensify is the next generation of Expensify: a reimagination of payments based atop a foundation of chat.", diff --git a/src/pages/home/report/ReportActionCompose.js b/src/pages/home/report/ReportActionCompose.js index 38eedffa1780..9a9346e2188b 100755 --- a/src/pages/home/report/ReportActionCompose.js +++ b/src/pages/home/report/ReportActionCompose.js @@ -188,6 +188,12 @@ class ReportActionCompose extends React.Component { && prevProps.modal.isVisible && !this.props.modal.isVisible) { this.focus(); } + + // If we switch from a sidebar, the component does not mount again + // so we need to update the comment manually. + if (prevProps.comment !== this.props.comment) { + this.textInput.setNativeProps({text: this.props.comment}); + } } componentWillUnmount() {