From 1970d36de3128a5508a8d8ff3f08aa1bd480c680 Mon Sep 17 00:00:00 2001 From: Carlos Martins Date: Thu, 20 Jan 2022 11:35:24 -0700 Subject: [PATCH] use pv3 for style and update comment --- ios/Podfile.lock | 6 +++--- src/components/ReportActionItem/RenameAction.js | 2 +- src/libs/actions/Report.js | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 21ebcd2f67d8..d84734e22936 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -930,9 +930,9 @@ SPEC CHECKSUMS: React-jsinspector: d0374f7509d407d2264168b6d0fad0b54e300b85 React-logger: 933f80c97c633ee8965d609876848148e3fef438 react-native-config: 6502b1879f97ed5ac570a029961fc35ea606cd14 - react-native-document-picker: 0e3602a4064da040321bafad6848d8b0edcb1d55 - react-native-flipper: 169e8ba429b73ad637ce007337ce4b415e783799 - react-native-image-picker: 4089335b89b625d4e34d53fb249c48a7a791b3ea + react-native-document-picker: ebcce6982dd91aa6d2b9a38b666895c381015f1d + react-native-flipper: cd9eabd8917104c1bbdca2621717cdca3b2addef + react-native-image-picker: f45729c43d4f854508ab25c0d0f0f711a2a8a267 react-native-netinfo: 3a61a486f2329f5884753fd5bab21450a535d97c react-native-pdf: 4b5a9e4465a6a3b399e91dc4838eb44ddf716d1f react-native-performance: 8edfa2bbc9a2af4a02f01d342118e413a95145e0 diff --git a/src/components/ReportActionItem/RenameAction.js b/src/components/ReportActionItem/RenameAction.js index a515bf4245b7..4b83ba66a610 100644 --- a/src/components/ReportActionItem/RenameAction.js +++ b/src/components/ReportActionItem/RenameAction.js @@ -19,7 +19,7 @@ const RenameAction = (props) => { const newName = lodashGet(props.action, 'originalMessage.newName', ''); return ( - + {displayName} diff --git a/src/libs/actions/Report.js b/src/libs/actions/Report.js index 52dfd6213d17..d1086ebfcb7e 100644 --- a/src/libs/actions/Report.js +++ b/src/libs/actions/Report.js @@ -1549,7 +1549,7 @@ function renameReport(reportID, reportName) { } Growl.success(Localize.translateLocal('newRoomPage.policyRoomRenamed')); - // Optimistically update the report name + // Update the report name so that the LHN and header display the updated name Onyx.merge(`${ONYXKEYS.COLLECTION.REPORT}${reportID}`, {reportName}); }) .catch(() => {