CAKE-345 | fixed bug on send_card.dart and fixed addresses for transaction details

This commit is contained in:
OleksandrSobol 2021-08-11 17:23:24 +03:00
parent a8375321bc
commit f84c7c9a1c
2 changed files with 329 additions and 325 deletions

View file

@ -79,6 +79,9 @@ class SendCardState extends State<SendCard>
toolbarButtons: [(_) => KeyboardDoneButton()], toolbarButtons: [(_) => KeyboardDoneButton()],
) )
]), ]),
child: Container(
height: 0,
color: Theme.of(context).backgroundColor,
child: Container( child: Container(
height: sendViewModel.isElectrumWallet ? 470 : 445, height: sendViewModel.isElectrumWallet ? 470 : 445,
decoration: BoxDecoration( decoration: BoxDecoration(
@ -431,6 +434,7 @@ class SendCardState extends State<SendCard>
) )
), ),
), ),
)
)); ));
} }

View file

@ -151,7 +151,7 @@ abstract class SendViewModelBase with Store {
@action @action
Future<void> commitTransaction() async { Future<void> commitTransaction() async {
String address = outputs.fold('', (acc, value) { String address = outputs.fold('', (acc, value) {
return acc + value.address + '\n'; return acc + value.address + '\n\n';
}); });
address = address.trim(); address = address.trim();