From 1b66104b2e74ab720c749f166b2f3d5be1200a09 Mon Sep 17 00:00:00 2001 From: Rajat Parashar Date: Sat, 29 May 2021 05:42:49 +0530 Subject: [PATCH 1/2] cleanup --- src/components/ScreenWrapper.js | 2 +- src/libs/onScreenTransitionEnd/index.js | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/components/ScreenWrapper.js b/src/components/ScreenWrapper.js index c9379be908eb..094b8b597fdd 100644 --- a/src/components/ScreenWrapper.js +++ b/src/components/ScreenWrapper.js @@ -30,7 +30,7 @@ const propTypes = { // react-navigation navigation object available to screen components navigation: PropTypes.shape({ - // Method to attach listner to Navigaton state. + // Method to attach listener to Navigation state. addListener: PropTypes.func.isRequired, // Returns to the previous navigation state e.g. if this is inside a Modal we will dismiss it diff --git a/src/libs/onScreenTransitionEnd/index.js b/src/libs/onScreenTransitionEnd/index.js index f0d066ee9bde..874be4fafb2e 100644 --- a/src/libs/onScreenTransitionEnd/index.js +++ b/src/libs/onScreenTransitionEnd/index.js @@ -1,5 +1,3 @@ -import Str from 'expensify-common/lib/str'; - /** * Call the callback after screen transiton has ended * @@ -8,7 +6,7 @@ import Str from 'expensify-common/lib/str'; * @returns {Function} */ function onScreenTransitionEnd(navigation, callback) { - return navigation.addListener('transitionEnd', evt => Str.result(callback, evt)); + return navigation.addListener('transitionEnd', callback); } export default onScreenTransitionEnd; From eae7a97a36fbcab8be1525beea5a77e1e11a02ae Mon Sep 17 00:00:00 2001 From: OSBotify Date: Mon, 31 May 2021 02:38:55 +0000 Subject: [PATCH 2/2] Update version to 1.0.57-3 --- android/app/build.gradle | 4 ++-- ios/ExpensifyCash/Info.plist | 2 +- ios/ExpensifyCashTests/Info.plist | 2 +- package-lock.json | 2 +- package.json | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 7dc153053fde..6012570b8162 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 1001005702 - versionName "1.0.57-2" + versionCode 1001005703 + versionName "1.0.57-3" } splits { abi { diff --git a/ios/ExpensifyCash/Info.plist b/ios/ExpensifyCash/Info.plist index 4d77201e575a..dc1530192cbc 100644 --- a/ios/ExpensifyCash/Info.plist +++ b/ios/ExpensifyCash/Info.plist @@ -30,7 +30,7 @@ CFBundleVersion - 1.0.57.2 + 1.0.57.3 ITSAppUsesNonExemptEncryption LSApplicationQueriesSchemes diff --git a/ios/ExpensifyCashTests/Info.plist b/ios/ExpensifyCashTests/Info.plist index 1a3b403a3c26..1c1de3d825a8 100644 --- a/ios/ExpensifyCashTests/Info.plist +++ b/ios/ExpensifyCashTests/Info.plist @@ -19,6 +19,6 @@ CFBundleSignature ???? CFBundleVersion - 1.0.57.2 + 1.0.57.3 diff --git a/package-lock.json b/package-lock.json index 8bd7e52a35ca..b3c8aa3089b3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "expensify.cash", - "version": "1.0.57-2", + "version": "1.0.57-3", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 9f76edbcdc51..2b7a1ceb50fd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "expensify.cash", - "version": "1.0.57-2", + "version": "1.0.57-3", "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.",