diff --git a/android/app/build.gradle b/android/app/build.gradle
index f3acbfcca319..290476c54f3b 100644
--- a/android/app/build.gradle
+++ b/android/app/build.gradle
@@ -155,8 +155,8 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
multiDexEnabled rootProject.ext.multiDexEnabled
- versionCode 1001019604
- versionName "1.1.96-4"
+ versionCode 1001019605
+ versionName "1.1.96-5"
buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()
if (isNewArchitectureEnabled()) {
diff --git a/ios/NewExpensify/Info.plist b/ios/NewExpensify/Info.plist
index e5685ce548c0..6d6ec413b475 100644
--- a/ios/NewExpensify/Info.plist
+++ b/ios/NewExpensify/Info.plist
@@ -30,7 +30,7 @@
CFBundleVersion
- 1.1.96.4
+ 1.1.96.5
ITSAppUsesNonExemptEncryption
LSApplicationQueriesSchemes
diff --git a/ios/NewExpensifyTests/Info.plist b/ios/NewExpensifyTests/Info.plist
index 9b6b3ac0fc80..c3225b4aa115 100644
--- a/ios/NewExpensifyTests/Info.plist
+++ b/ios/NewExpensifyTests/Info.plist
@@ -19,6 +19,6 @@
CFBundleSignature
????
CFBundleVersion
- 1.1.96.4
+ 1.1.96.5
diff --git a/package-lock.json b/package-lock.json
index b66218953694..968bf6cf3fd0 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "new.expensify",
- "version": "1.1.96-4",
+ "version": "1.1.96-5",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "new.expensify",
- "version": "1.1.96-4",
+ "version": "1.1.96-5",
"hasInstallScript": true,
"license": "MIT",
"dependencies": {
diff --git a/package.json b/package.json
index 7f34ee49d6d2..ba3084b15665 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "new.expensify",
- "version": "1.1.96-4",
+ "version": "1.1.96-5",
"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/libs/actions/Report.js b/src/libs/actions/Report.js
index ce448bc0ed5d..ad2dd0c54dd2 100644
--- a/src/libs/actions/Report.js
+++ b/src/libs/actions/Report.js
@@ -1103,13 +1103,12 @@ Onyx.connect({
*/
function deleteReportComment(reportID, reportAction) {
const sequenceNumber = reportAction.sequenceNumber;
+
+ // We are not updating the message content here so the message can re-appear as strike-throughed
+ // if the user goes offline. The API will update the message content to empty strings on success.
const optimisticReportActions = {
[sequenceNumber]: {
pendingAction: CONST.RED_BRICK_ROAD_PENDING_ACTION.DELETE,
- message: [{
- html: '',
- text: '',
- }],
},
};
diff --git a/src/pages/home/report/ReportActionItemFragment.js b/src/pages/home/report/ReportActionItemFragment.js
index 4d4d444ffd81..3d8fdb9c6e35 100644
--- a/src/pages/home/report/ReportActionItemFragment.js
+++ b/src/pages/home/report/ReportActionItemFragment.js
@@ -51,6 +51,12 @@ const propTypes = {
/** Should this fragment be contained in a single line? */
isSingleLine: PropTypes.bool,
+ // Additional styles to add after local styles
+ style: PropTypes.oneOfType([
+ PropTypes.arrayOf(PropTypes.object),
+ PropTypes.object,
+ ]),
+
...windowDimensionsPropTypes,
/** localization props */
@@ -69,6 +75,7 @@ const defaultProps = {
isSingleLine: false,
tooltipText: '',
source: '',
+ style: [],
};
const ReportActionItemFragment = (props) => {
@@ -119,7 +126,7 @@ const ReportActionItemFragment = (props) => {
{StyleUtils.convertToLTR(Str.htmlDecode(text))}
{props.fragment.isEdited && (
diff --git a/src/pages/home/report/ReportActionItemMessage.js b/src/pages/home/report/ReportActionItemMessage.js
index 9cfa1e5eb537..a066b2be34f8 100644
--- a/src/pages/home/report/ReportActionItemMessage.js
+++ b/src/pages/home/report/ReportActionItemMessage.js
@@ -45,6 +45,7 @@ const ReportActionItemMessage = (props) => {
attachmentInfo={props.action.attachmentInfo}
source={lodashGet(props.action, 'originalMessage.source')}
loading={props.action.isLoading}
+ style={props.style}
/>
))}