Skip to content

Commit

Permalink
Merge pull request #3268 from Expensify/main
Browse files Browse the repository at this point in the history
  • Loading branch information
OSBotify authored Jun 1, 2021
2 parents fef87a5 + 0b42caf commit bede38c
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 14 deletions.
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
multiDexEnabled rootProject.ext.multiDexEnabled
versionCode 1001005804
versionName "1.0.58-4"
versionCode 1001005805
versionName "1.0.58-5"
}
splits {
abi {
Expand Down
2 changes: 1 addition & 1 deletion ios/ExpensifyCash/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>1.0.58.4</string>
<string>1.0.58.5</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>LSApplicationQueriesSchemes</key>
Expand Down
2 changes: 1 addition & 1 deletion ios/ExpensifyCashTests/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0.58.4</string>
<string>1.0.58.5</string>
</dict>
</plist>
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "expensify.cash",
"version": "1.0.58-4",
"version": "1.0.58-5",
"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.",
Expand Down
10 changes: 2 additions & 8 deletions src/pages/iou/steps/IOUAmountPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import {
View,
Text,
TouchableOpacity,
InteractionManager,
} from 'react-native';
import PropTypes from 'prop-types';
import {withOnyx} from 'react-native-onyx';
Expand Down Expand Up @@ -47,13 +48,6 @@ const propTypes = {
/** Window Dimensions Props */
...windowDimensionsPropTypes,

/** react-navigation object */
navigation: PropTypes.shape({

/** Allows us to add a listener for the navigation transition end */
addListener: PropTypes.func,
}).isRequired,

/* Onyx Props */

/** Holds data related to IOU view state, rather than the underlying IOU data. */
Expand Down Expand Up @@ -83,7 +77,7 @@ class IOUAmountPage extends React.Component {
componentDidMount() {
// Component is not initialized yet due to navigation transitions
// Wait until interactions are complete before trying to focus or attach listener
this.props.navigation.addListener('transitionEnd', () => {
InteractionManager.runAfterInteractions(() => {
// Setup and attach keypress handler for navigating to the next screen
this.unsubscribe = KeyboardShortcut.subscribe('Enter', () => {
if (this.state.amount !== '') {
Expand Down

0 comments on commit bede38c

Please sign in to comment.