@@ -123,9 +123,20 @@ func (hp *HomePage) initPageItems() {
123123 values .String (values .StrOverview ),
124124 values .String (values .StrTransactions ),
125125 values .String (values .StrWallets ),
126- values .String (values .StrTrade ),
127126 values .String (values .StrGovernance ),
128127 }
128+
129+ // Add trade tab only if not on macOS
130+ if ! appos .Current ().IsDarwin () {
131+ // Determine the insertion point, which is second to last position
132+ insertionPoint := len (navigationTabTitles ) - 1
133+ if insertionPoint < 0 {
134+ insertionPoint = 0
135+ }
136+ // Append at the second to last position
137+ navigationTabTitles = append (navigationTabTitles [:insertionPoint ], append ([]string {values .String (values .StrTrade )}, navigationTabTitles [insertionPoint :]... )... )
138+ }
139+
129140 hp .navigationTab = hp .Theme .Tab (layout .Horizontal , false , navigationTabTitles )
130141
131142 hp .sendReceiveNavItems = []components.NavBarItem {
@@ -706,7 +717,7 @@ func (hp *HomePage) initBottomNavItems() {
706717 },
707718 }
708719
709- // Add the trade tab only if not on mobile
720+ // Add the trade tab only if not on iOS
710721 if ! appos .Current ().IsIOS () {
711722 tradeTab := components.BottomNavigationBarHandler {
712723 Clickable : hp .Theme .NewClickable (true ),
0 commit comments