Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
fix: Go to send crypto on token tap
Browse files Browse the repository at this point in the history
  • Loading branch information
reasje committed Oct 24, 2023
1 parent 1a99d4e commit 381819a
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import 'package:datadashwallet/common/common.dart';
import 'package:datadashwallet/core/core.dart';
import 'package:datadashwallet/features/portfolio/portfolio.dart';
import 'package:datadashwallet/features/portfolio/subfeatures/token/add_token/add_token_page.dart';
import '../token/send_token/send_crypto/send_crypto_page.dart';
import './utils.dart';
import 'package:flutter/material.dart';
import 'package:flutter_i18n/flutter_i18n.dart';
Expand Down Expand Up @@ -43,6 +44,14 @@ class TokensBalanceList extends HookConsumerWidget {
...TokensBalanceListUtils
.generateTokensBalanceList(
portfolioState.tokensList!,
onSelected: (token) =>
Navigator.of(context).push(
route.featureDialog(
SendCryptoPage(
token: token,
),
),
),
)
],
)),
Expand Down

0 comments on commit 381819a

Please sign in to comment.