From 833daea120d8a182722772de0561260f3af1e428 Mon Sep 17 00:00:00 2001 From: julian Date: Fri, 16 Jun 2023 18:32:56 -0600 Subject: [PATCH] hide fee selection for ba/nano send --- lib/pages/send_view/send_view.dart | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/lib/pages/send_view/send_view.dart b/lib/pages/send_view/send_view.dart index 5ce6ccbb0..438a900a6 100644 --- a/lib/pages/send_view/send_view.dart +++ b/lib/pages/send_view/send_view.dart @@ -1839,17 +1839,23 @@ class _SendViewState extends ConsumerState { const SizedBox( height: 12, ), - if (coin != Coin.epicCash) + if (coin != Coin.epicCash && + coin != Coin.nano && + coin != Coin.banano) Text( "Transaction fee (estimated)", style: STextStyles.smallMed12(context), textAlign: TextAlign.left, ), - if (coin != Coin.epicCash) + if (coin != Coin.epicCash && + coin != Coin.nano && + coin != Coin.banano) const SizedBox( height: 8, ), - if (coin != Coin.epicCash) + if (coin != Coin.epicCash && + coin != Coin.nano && + coin != Coin.banano) Stack( children: [ TextField( @@ -1937,11 +1943,11 @@ class _SendViewState extends ConsumerState { .done && snapshot.hasData) { _setCurrentFee( - snapshot.data! as String, + snapshot.data!, false, ); return Text( - "~${snapshot.data! as String}", + "~${snapshot.data!}", style: STextStyles .itemSubtitle( context),