Skip to content

Commit

Permalink
Merge pull request #3371 from Expensify/main
Browse files Browse the repository at this point in the history
  • Loading branch information
OSBotify authored Jun 4, 2021
2 parents 3fbf612 + 6923be0 commit 2ea70e9
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 11 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 1001006204
versionName "1.0.62-4"
versionCode 1001006205
versionName "1.0.62-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.62.4</string>
<string>1.0.62.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.62.4</string>
<string>1.0.62.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.62-4",
"version": "1.0.62-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
9 changes: 4 additions & 5 deletions src/components/ReportActionItemIOUAction.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import {withOnyx} from 'react-native-onyx';
import lodashGet from 'lodash/get';
import ONYXKEYS from '../ONYXKEYS';
import ReportActionItemIOUQuote from './ReportActionItemIOUQuote';
import ReportActionPropTypes from '../pages/home/report/ReportActionPropTypes';
Expand Down Expand Up @@ -44,22 +43,22 @@ const defaultProps = {
const ReportActionItemIOUAction = ({
action,
chatReportID,
chatReport,
iouReport,
isMostRecentIOUReportAction,
}) => {
const launchDetailsModal = () => {
Navigation.navigate(ROUTES.getIouDetailsRoute(chatReportID, action.originalMessage.IOUReportID));
};
const hasMultipleParticipants = lodashGet(chatReport, 'participants', []).length >= 2;
return (
<>
<ReportActionItemIOUQuote
action={action}
shouldShowViewDetailsLink={!hasMultipleParticipants}
shouldShowViewDetailsLink={Boolean(action.originalMessage.IOUReportID)}
onViewDetailsPressed={launchDetailsModal}
/>
{isMostRecentIOUReportAction && (iouReport.hasOutstandingIOU) && (
{isMostRecentIOUReportAction
&& iouReport.hasOutstandingIOU
&& Boolean(action.originalMessage.IOUReportID) && (
<ReportActionItemIOUPreview
iouReportID={action.originalMessage.IOUReportID}
chatReportID={chatReportID}
Expand Down

0 comments on commit 2ea70e9

Please sign in to comment.