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
5 changes: 1 addition & 4 deletions src/constants/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,14 +170,11 @@ export const LISTEN_TIMEOUT = 10000;
export const EXCHANGE_RATES_SORT_ORDER = [
'btc',
'eth',
'usdt', // not available from the endpoint
'xrp',
'sol',
'usdc', // not available from the endpoint
'doge',
'bch',
'shib',
'matic',
'ltc',
];

// Passkey
Expand Down
3 changes: 2 additions & 1 deletion src/navigation/tabs/home/HomeRoot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,8 @@ const HomeRoot: React.FC<HomeScreenProps> = ({route, navigation}) => {
option &&
lastDayRateForDefaultCurrency?.rate &&
rateForDefaultCurrency?.rate &&
!isStableCoin
!isStableCoin &&
EXCHANGE_RATES_SORT_ORDER.includes(currencyName)
) {
const {
id,
Expand Down