Skip to content

Commit e99bd02

Browse files
authored
Merge pull request #5661 from Expensify/nmurray-put-venmo-behind-send
2 parents b550d52 + b7d2950 commit e99bd02

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/IOUConfirmationList.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,10 @@ class IOUConfirmationList extends Component {
161161
}
162162

163163
componentDidMount() {
164-
this.addVenmoPaymentOptionToMenu();
164+
// Only add the Venmo option if we're sending a payment
165+
if (this.props.iouType === CONST.IOU.IOU_TYPE.SEND) {
166+
this.addVenmoPaymentOptionToMenu();
167+
}
165168
}
166169

167170
componentWillUnmount() {

0 commit comments

Comments
 (0)