fix empty containers

This commit is contained in:
Serhii 2022-11-14 22:50:07 +02:00
parent c99e5f6f31
commit 9ce8a1944b

View file

@ -332,8 +332,7 @@ class SendCardState extends State<SendCard>
], ],
), ),
)), )),
sendViewModel.balanceViewModel.disableFiat ? if (sendViewModel.balanceViewModel.disableFiat)
Container () :
Padding( Padding(
padding: const EdgeInsets.only(top: 20), padding: const EdgeInsets.only(top: 20),
child: BaseTextFormField( child: BaseTextFormField(
@ -440,8 +439,9 @@ class SendCardState extends State<SendCard>
Padding( Padding(
padding: padding:
EdgeInsets.only(top: 5), EdgeInsets.only(top: 5),
child: sendViewModel.balanceViewModel.disableFiat ? child: sendViewModel.balanceViewModel.disableFiat
Container () : Text(output ? const SizedBox(height: 14)
: Text(output
.estimatedFeeFiatAmount .estimatedFeeFiatAmount
+ ' ' + + ' ' +
sendViewModel sendViewModel