From a85c79b36788e3f410c3d3d186815b61017021a4 Mon Sep 17 00:00:00 2001 From: julian Date: Wed, 12 Apr 2023 08:44:08 -0600 Subject: [PATCH] disable eth send all button --- .../wallet_view/sub_widgets/desktop_send.dart | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/pages_desktop_specific/my_stack_view/wallet_view/sub_widgets/desktop_send.dart b/lib/pages_desktop_specific/my_stack_view/wallet_view/sub_widgets/desktop_send.dart index b4b10fa95..664fe0103 100644 --- a/lib/pages_desktop_specific/my_stack_view/wallet_view/sub_widgets/desktop_send.dart +++ b/lib/pages_desktop_specific/my_stack_view/wallet_view/sub_widgets/desktop_send.dart @@ -994,10 +994,11 @@ class _DesktopSendState extends ConsumerState { ), textAlign: TextAlign.left, ), - CustomTextButton( - text: "Send all ${coin.ticker}", - onTap: sendAllTapped, - ), + if (coin != Coin.ethereum) + CustomTextButton( + text: "Send all ${coin.ticker}", + onTap: sendAllTapped, + ), ], ), const SizedBox(