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