Skip to content

Commit

Permalink
navigating from the tabbar to portfolio goes to initial screen
Browse files Browse the repository at this point in the history
  • Loading branch information
jorbuedo committed Oct 2, 2024
1 parent 83f4065 commit 3744531
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 48 deletions.
1 change: 1 addition & 0 deletions apps/wallet-mobile/src/WalletNavigator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ const WalletTabNavigator = () => {

<Tab.Screen
name="portfolio"
initialParams={{screen: 'dashboard-portfolio'}}
options={{
tabBarIcon: ({focused}) =>
focused ? (
Expand Down
96 changes: 48 additions & 48 deletions apps/wallet-mobile/translations/messages/src/WalletNavigator.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,179 +4,179 @@
"defaultMessage": "!!!Transactions",
"file": "src/WalletNavigator.tsx",
"start": {
"line": 305,
"line": 308,
"column": 22,
"index": 10584
"index": 10768
},
"end": {
"line": 308,
"line": 311,
"column": 3,
"index": 10687
"index": 10871
}
},
{
"id": "components.txhistory.txnavigationbuttons.sendButton",
"defaultMessage": "!!!Send",
"file": "src/WalletNavigator.tsx",
"start": {
"line": 309,
"line": 312,
"column": 14,
"index": 10703
"index": 10887
},
"end": {
"line": 312,
"line": 315,
"column": 3,
"index": 10802
"index": 10986
}
},
{
"id": "components.txhistory.txnavigationbuttons.receiveButton",
"defaultMessage": "!!!Receive",
"file": "src/WalletNavigator.tsx",
"start": {
"line": 313,
"line": 316,
"column": 17,
"index": 10821
"index": 11005
},
"end": {
"line": 316,
"line": 319,
"column": 3,
"index": 10926
"index": 11110
}
},
{
"id": "components.common.navigation.dashboardButton",
"defaultMessage": "!!!Dashboard",
"file": "src/WalletNavigator.tsx",
"start": {
"line": 317,
"line": 320,
"column": 19,
"index": 10947
"index": 11131
},
"end": {
"line": 320,
"line": 323,
"column": 3,
"index": 11044
"index": 11228
}
},
{
"id": "components.common.navigation.delegateButton",
"defaultMessage": "!!!Delegate",
"file": "src/WalletNavigator.tsx",
"start": {
"line": 321,
"line": 324,
"column": 18,
"index": 11064
"index": 11248
},
"end": {
"line": 324,
"line": 327,
"column": 3,
"index": 11159
"index": 11343
}
},
{
"id": "components.settings.walletsettingscreen.tabTitle",
"defaultMessage": "!!!Wallet",
"file": "src/WalletNavigator.tsx",
"start": {
"line": 325,
"line": 328,
"column": 16,
"index": 11177
"index": 11361
},
"end": {
"line": 328,
"line": 331,
"column": 3,
"index": 11275
"index": 11459
}
},
{
"id": "global.staking",
"defaultMessage": "!!!Staking",
"file": "src/WalletNavigator.tsx",
"start": {
"line": 329,
"line": 332,
"column": 17,
"index": 11294
"index": 11478
},
"end": {
"line": 332,
"line": 335,
"column": 3,
"index": 11359
"index": 11543
}
},
{
"id": "components.common.navigation.nftGallery",
"defaultMessage": "!!!NFT Gallery",
"file": "src/WalletNavigator.tsx",
"start": {
"line": 333,
"line": 336,
"column": 14,
"index": 11375
"index": 11559
},
"end": {
"line": 336,
"line": 339,
"column": 3,
"index": 11469
"index": 11653
}
},
{
"id": "menu",
"defaultMessage": "!!!Menu",
"file": "src/WalletNavigator.tsx",
"start": {
"line": 337,
"line": 340,
"column": 14,
"index": 11485
"index": 11669
},
"end": {
"line": 340,
"line": 343,
"column": 3,
"index": 11537
"index": 11721
}
},
{
"id": "components.common.navigation.discover",
"defaultMessage": "!!!Discover",
"file": "src/WalletNavigator.tsx",
"start": {
"line": 341,
"line": 344,
"column": 18,
"index": 11557
"index": 11741
},
"end": {
"line": 344,
"line": 347,
"column": 3,
"index": 11646
"index": 11830
}
},
{
"id": "components.walletselection.walletselectionscreen.header",
"defaultMessage": "!!!My wallets",
"file": "src/WalletNavigator.tsx",
"start": {
"line": 345,
"line": 348,
"column": 31,
"index": 11679
"index": 11863
},
"end": {
"line": 348,
"line": 351,
"column": 3,
"index": 11788
"index": 11972
}
},
{
"id": "global.portfolio",
"defaultMessage": "!!!Portfolio",
"file": "src/WalletNavigator.tsx",
"start": {
"line": 349,
"line": 352,
"column": 19,
"index": 11809
"index": 11993
},
"end": {
"line": 352,
"line": 355,
"column": 3,
"index": 11878
"index": 12062
}
}
]

0 comments on commit 3744531

Please sign in to comment.