Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed modules/expensify-react-native-wallet.tgz
Binary file not shown.
12 changes: 6 additions & 6 deletions 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
Expand Up @@ -87,7 +87,7 @@
"@expensify/react-native-background-task": "file:./modules/background-task",
"@expensify/react-native-hybrid-app": "file:./modules/hybrid-app",
"@expensify/react-native-live-markdown": "0.1.288",
"@expensify/react-native-wallet": "file:modules/expensify-react-native-wallet.tgz",
"@expensify/react-native-wallet": "^0.1.5",
"@expo/metro-runtime": "^5.0.4",
"@firebase/app": "^0.10.10",
"@firebase/performance": "^0.6.8",
Expand Down
1 change: 0 additions & 1 deletion src/CONST/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,6 @@ const CONST = {
NEWDOT_MERGE_ACCOUNTS: 'newDotMergeAccounts',
NEWDOT_MANAGER_MCTEST: 'newDotManagerMcTest',
CUSTOM_RULES: 'customRules',
WALLET: 'newdotWallet',
GLOBAL_REIMBURSEMENTS_ON_ND: 'globalReimbursementsOnND',
IS_TRAVEL_VERIFIED: 'isTravelVerified',
MULTI_LEVEL_TAGS: 'multiLevelTags',
Expand Down
4 changes: 1 addition & 3 deletions src/pages/settings/Wallet/ExpensifyCardPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import useBeforeRemove from '@hooks/useBeforeRemove';
import useCurrentUserPersonalDetails from '@hooks/useCurrentUserPersonalDetails';
import useLocalize from '@hooks/useLocalize';
import useNetwork from '@hooks/useNetwork';
import usePermissions from '@hooks/usePermissions';
import useThemeStyles from '@hooks/useThemeStyles';
import {requestValidateCodeAction} from '@libs/actions/User';
import {formatCardExpiration, getDomainCards, maskCard} from '@libs/CardUtils';
Expand Down Expand Up @@ -74,7 +73,6 @@ function ExpensifyCardPage({
const styles = useThemeStyles();
const {isOffline} = useNetwork();
const {translate} = useLocalize();
const {isBetaEnabled} = usePermissions();
const [isValidateCodeActionModalVisible, setIsValidateCodeActionModalVisible] = useState(false);
const [currentCardID, setCurrentCardID] = useState<number>(-1);
const isTravelCard = cardList?.[cardID]?.nameValuePairs?.isTravelCard;
Expand Down Expand Up @@ -359,7 +357,7 @@ function ExpensifyCardPage({
/>
</>
)}
{!!isBetaEnabled(CONST.BETAS.WALLET) && cardToAdd !== undefined && (
{cardToAdd !== undefined && (
<AddToWalletButton
card={cardToAdd}
buttonStyle={styles.alignSelfCenter}
Expand Down