mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 03:49:22 +00:00
hide fee selection for ba/nano send
This commit is contained in:
parent
1b8300129d
commit
833daea120
1 changed files with 11 additions and 5 deletions
|
@ -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),
|
||||||
|
|
Loading…
Reference in a new issue