hide fee selection for ba/nano send

This commit is contained in:
julian 2023-06-16 18:32:56 -06:00
parent 1b8300129d
commit 833daea120

View file

@ -1839,17 +1839,23 @@ class _SendViewState extends ConsumerState<SendView> {
const SizedBox( const SizedBox(
height: 12, height: 12,
), ),
if (coin != Coin.epicCash) if (coin != Coin.epicCash &&
coin != Coin.nano &&
coin != Coin.banano)
Text( Text(
"Transaction fee (estimated)", "Transaction fee (estimated)",
style: STextStyles.smallMed12(context), style: STextStyles.smallMed12(context),
textAlign: TextAlign.left, textAlign: TextAlign.left,
), ),
if (coin != Coin.epicCash) if (coin != Coin.epicCash &&
coin != Coin.nano &&
coin != Coin.banano)
const SizedBox( const SizedBox(
height: 8, height: 8,
), ),
if (coin != Coin.epicCash) if (coin != Coin.epicCash &&
coin != Coin.nano &&
coin != Coin.banano)
Stack( Stack(
children: [ children: [
TextField( TextField(
@ -1937,11 +1943,11 @@ class _SendViewState extends ConsumerState<SendView> {
.done && .done &&
snapshot.hasData) { snapshot.hasData) {
_setCurrentFee( _setCurrentFee(
snapshot.data! as String, snapshot.data!,
false, false,
); );
return Text( return Text(
"~${snapshot.data! as String}", "~${snapshot.data!}",
style: STextStyles style: STextStyles
.itemSubtitle( .itemSubtitle(
context), context),