Skip to content

Commit

Permalink
Merge pull request #55146 from daledah/fix/54467
Browse files Browse the repository at this point in the history
Fix offline indicator is not displayed at the bottom in the Get physical card page
  • Loading branch information
youssef-lr authored Jan 15, 2025
2 parents ca83612 + d22fb52 commit 574c083
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pages/settings/Wallet/Card/BaseGetPhysicalCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ function BaseGetPhysicalCard({
(validateCode: string) => {
setCurrentCardID(cardToBeIssued?.cardID.toString());
const updatedPrivatePersonalDetails = GetPhysicalCardUtils.getUpdatedPrivatePersonalDetails(draftValues, privatePersonalDetails);
Wallet.requestPhysicalExpensifyCard(cardToBeIssued?.cardID ?? -1, session?.authToken ?? '', updatedPrivatePersonalDetails, validateCode);
Wallet.requestPhysicalExpensifyCard(cardToBeIssued?.cardID ?? CONST.DEFAULT_NUMBER_ID, session?.authToken ?? '', updatedPrivatePersonalDetails, validateCode);
},
[cardToBeIssued?.cardID, draftValues, session?.authToken, privatePersonalDetails],
);
Expand All @@ -184,7 +184,6 @@ function BaseGetPhysicalCard({
return (
<ScreenWrapper
shouldEnablePickerAvoiding={false}
shouldShowOfflineIndicator={false}
testID={BaseGetPhysicalCard.displayName}
>
<HeaderWithBackButton
Expand Down

0 comments on commit 574c083

Please sign in to comment.