Skip to content

Commit

Permalink
Merge pull request #3469 from Expensify/main
Browse files Browse the repository at this point in the history
  • Loading branch information
OSBotify authored Jun 9, 2021
2 parents 91ec6ce + fe2355c commit 8087011
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 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 1001006507
versionName "1.0.65-7"
versionCode 1001006508
versionName "1.0.65-8"
}
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.65.7</string>
<string>1.0.65.8</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.65.7</string>
<string>1.0.65.8</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.65-7",
"version": "1.0.65-8",
"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
8 changes: 4 additions & 4 deletions src/components/OptionsSelector.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,6 @@ class OptionsSelector extends Component {
* @param {SyntheticEvent} e
*/
handleKeyPress(e) {
if (this.props.disableArrowKeysActions) {
return;
}

// We are mapping over all the options to combine them into a single array and also saving the section index
// index within that section so we can navigate
const allOptions = _.reduce(this.props.sections, (options, section, sectionIndex) => (
Expand All @@ -128,6 +124,10 @@ class OptionsSelector extends Component {
}))]
), []);

if (this.props.disableArrowKeysActions && e.nativeEvent.key.startsWith('Arrow')) {
return;
}

switch (e.nativeEvent.key) {
case 'Enter': {
this.selectRow(allOptions[this.state.focusedIndex]);
Expand Down

0 comments on commit 8087011

Please sign in to comment.