Skip to content
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.

bugfix/ crash issue with nft collections settings #2490

Merged
Merged
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
4 changes: 2 additions & 2 deletions src/screens/Settings/Accounts/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export default function AccountsSettings({ navigation }: { navigation: any }) {
onPress={() => navigation.navigate(ScreenName.CryptoAssetsSettings)}
/>
)}
{hiddenNftCollections.length && (
{hiddenNftCollections.length > 0 && (
<SettingsRow
event="HiddenNftCollectionsSettings"
title={t("settings.accounts.hiddenNFTCollections")}
Expand All @@ -97,7 +97,7 @@ export default function AccountsSettings({ navigation }: { navigation: any }) {
</SettingsRow>
</>
),
[navigation, t, currencies.length],
[currencies.length, t, hiddenNftCollections.length, navigation],
);

const sections = useMemo(() => {
Expand Down