Skip to content

Commit

Permalink
Fix portfolio back buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
jorbuedo committed Jul 15, 2024
1 parent 5858081 commit fa5e1eb
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 34 deletions.
1 change: 0 additions & 1 deletion apps/wallet-mobile/src/features/Nfts/useCases/Nfts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ export const Nfts = () => {
useSearchOnNavBar({
title: strings.title,
placeholder: strings.search,
noBack: true,
})
const {search, isSearching} = useSearch()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@ export const PortfolioNavigator = () => {

return (
<PortfolioTokenDetailProvider>
<Stack.Navigator screenOptions={defaultStackNavigationOptions(atoms, color)}>
<Stack.Navigator
screenOptions={{
...defaultStackNavigationOptions(atoms, color),
headerLeft: () => null,
gestureEnabled: true,
}}
>
<Stack.Screen
name="dashboard-portfolio"
component={PortfolioDashboardScreen}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,119 +4,119 @@
"defaultMessage": "!!!NFT count",
"file": "src/features/Nfts/useCases/Nfts.tsx",
"start": {
"line": 163,
"line": 162,
"column": 12,
"index": 4331
"index": 4313
},
"end": {
"line": 166,
"line": 165,
"column": 3,
"index": 4404
"index": 4386
}
},
{
"id": "nft.gallery.errorTitle",
"defaultMessage": "!!!Oops!",
"file": "src/features/Nfts/useCases/Nfts.tsx",
"start": {
"line": 167,
"line": 166,
"column": 14,
"index": 4420
"index": 4402
},
"end": {
"line": 170,
"line": 169,
"column": 3,
"index": 4491
"index": 4473
}
},
{
"id": "nft.gallery.errorDescription",
"defaultMessage": "!!!Something went wrong.",
"file": "src/features/Nfts/useCases/Nfts.tsx",
"start": {
"line": 171,
"line": 170,
"column": 20,
"index": 4513
"index": 4495
},
"end": {
"line": 174,
"line": 173,
"column": 3,
"index": 4606
"index": 4588
}
},
{
"id": "nft.gallery.reloadApp",
"defaultMessage": "!!!Try to restart the app.",
"file": "src/features/Nfts/useCases/Nfts.tsx",
"start": {
"line": 175,
"line": 174,
"column": 13,
"index": 4621
"index": 4603
},
"end": {
"line": 178,
"line": 177,
"column": 3,
"index": 4709
"index": 4691
}
},
{
"id": "nft.gallery.noNftsFound",
"defaultMessage": "!!!No NFTs found",
"file": "src/features/Nfts/useCases/Nfts.tsx",
"start": {
"line": 179,
"line": 178,
"column": 15,
"index": 4726
"index": 4708
},
"end": {
"line": 182,
"line": 181,
"column": 3,
"index": 4806
"index": 4788
}
},
{
"id": "nft.gallery.noNftsInWallet",
"defaultMessage": "!!!No NFTs added to your wallet yet",
"file": "src/features/Nfts/useCases/Nfts.tsx",
"start": {
"line": 183,
"line": 182,
"column": 18,
"index": 4826
"index": 4808
},
"end": {
"line": 186,
"line": 185,
"column": 3,
"index": 4928
"index": 4910
}
},
{
"id": "nft.navigation.title",
"defaultMessage": "!!!NFT Gallery",
"file": "src/features/Nfts/useCases/Nfts.tsx",
"start": {
"line": 187,
"line": 186,
"column": 9,
"index": 4939
"index": 4921
},
"end": {
"line": 190,
"line": 189,
"column": 3,
"index": 5014
"index": 4996
}
},
{
"id": "nft.navigation.search",
"defaultMessage": "!!!Search NFT",
"file": "src/features/Nfts/useCases/Nfts.tsx",
"start": {
"line": 191,
"line": 190,
"column": 10,
"index": 5026
"index": 5008
},
"end": {
"line": 194,
"line": 193,
"column": 3,
"index": 5101
"index": 5083
}
}
]

0 comments on commit fa5e1eb

Please sign in to comment.