Skip to content

Commit 574c083

Browse files
authored
Merge pull request #55146 from daledah/fix/54467
Fix offline indicator is not displayed at the bottom in the Get physical card page
2 parents ca83612 + d22fb52 commit 574c083

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/pages/settings/Wallet/Card/BaseGetPhysicalCard.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ function BaseGetPhysicalCard({
168168
(validateCode: string) => {
169169
setCurrentCardID(cardToBeIssued?.cardID.toString());
170170
const updatedPrivatePersonalDetails = GetPhysicalCardUtils.getUpdatedPrivatePersonalDetails(draftValues, privatePersonalDetails);
171-
Wallet.requestPhysicalExpensifyCard(cardToBeIssued?.cardID ?? -1, session?.authToken ?? '', updatedPrivatePersonalDetails, validateCode);
171+
Wallet.requestPhysicalExpensifyCard(cardToBeIssued?.cardID ?? CONST.DEFAULT_NUMBER_ID, session?.authToken ?? '', updatedPrivatePersonalDetails, validateCode);
172172
},
173173
[cardToBeIssued?.cardID, draftValues, session?.authToken, privatePersonalDetails],
174174
);
@@ -184,7 +184,6 @@ function BaseGetPhysicalCard({
184184
return (
185185
<ScreenWrapper
186186
shouldEnablePickerAvoiding={false}
187-
shouldShowOfflineIndicator={false}
188187
testID={BaseGetPhysicalCard.displayName}
189188
>
190189
<HeaderWithBackButton

0 commit comments

Comments
 (0)