diff --git a/android/app/build.gradle b/android/app/build.gradle index 5a0fa3e70e9d..5345122a4c98 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -148,8 +148,8 @@ android { minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion multiDexEnabled rootProject.ext.multiDexEnabled - versionCode 1001005501 - versionName "1.0.55-1" + versionCode 1001005502 + versionName "1.0.55-2" } splits { abi { diff --git a/ios/ExpensifyCash/Info.plist b/ios/ExpensifyCash/Info.plist index db5e8eb1eb29..91849ac5a280 100644 --- a/ios/ExpensifyCash/Info.plist +++ b/ios/ExpensifyCash/Info.plist @@ -30,7 +30,7 @@ CFBundleVersion - 1.0.55.1 + 1.0.55.2 ITSAppUsesNonExemptEncryption LSApplicationQueriesSchemes diff --git a/ios/ExpensifyCashTests/Info.plist b/ios/ExpensifyCashTests/Info.plist index d21cfc94cd32..cf99269c3f18 100644 --- a/ios/ExpensifyCashTests/Info.plist +++ b/ios/ExpensifyCashTests/Info.plist @@ -19,6 +19,6 @@ CFBundleSignature ???? CFBundleVersion - 1.0.55.1 + 1.0.55.2 diff --git a/package-lock.json b/package-lock.json index 9d0ac7745128..811300d9937d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "expensify.cash", - "version": "1.0.55-1", + "version": "1.0.55-2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index f3054fd10575..a9701b268df4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "expensify.cash", - "version": "1.0.55-1", + "version": "1.0.55-2", "author": "Expensify, Inc.", "homepage": "https://expensify.cash", "description": "Expensify.cash is the next generation of Expensify: a reimagination of payments based atop a foundation of chat.", diff --git a/src/libs/Navigation/AppNavigator/MainDrawerNavigator.js b/src/libs/Navigation/AppNavigator/MainDrawerNavigator.js index 8f1427c3afa1..23d5130551b3 100644 --- a/src/libs/Navigation/AppNavigator/MainDrawerNavigator.js +++ b/src/libs/Navigation/AppNavigator/MainDrawerNavigator.js @@ -32,17 +32,13 @@ const defaultProps = { const Drawer = createDrawerNavigator(); -/** - * We are decorating findLastAccessedReport so that it caches the first result once the reports load. - * This will ensure the initialParams are only set once for the ReportScreen. - */ -const getInitialReportScreenParams = _.once((reports) => { +const getInitialReportScreenParams = (reports) => { const last = findLastAccessedReport(reports); // Fallback to empty if for some reason reportID cannot be derived - prevents the app from crashing const reportID = lodashGet(last, 'reportID', ''); return {reportID: String(reportID)}; -}); +}; const MainDrawerNavigator = (props) => { // When there are no reports there's no point to render the empty navigator