Skip to content

Commit 9512dd2

Browse files
committed
fix: missing conditional wallet mode check
1 parent 7fe4ee4 commit 9512dd2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/views/wallet/coin_details/coin_details_info/coin_details_info.dart

+3-1
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,9 @@ class _MobileContent extends StatelessWidget {
375375
child: CoinDetailsCommonButtons(
376376
isMobile: true,
377377
selectWidget: setPageType,
378-
clickSwapButton: () => _goToSwap(context, coin),
378+
clickSwapButton: MainMenuValue.dex.isEnabledInCurrentMode()
379+
? null
380+
: () => _goToSwap(context, coin),
379381
coin: coin,
380382
),
381383
),

0 commit comments

Comments
 (0)