CAKE-345 | removed isAddReceiverButtonEnabled from send_view_model.dart; fixed height of send card

This commit is contained in:
OleksandrSobol
2021-07-23 09:31:35 +03:00
parent a1c6b0be3f
commit d582f89c7d
3 changed files with 4 additions and 8 deletions
+2 -2
View File
@@ -79,7 +79,7 @@ class SendPage extends BasePage {
content: Column(
children: <Widget>[
Container(
height: 470,
height: sendViewModel.isElectrumWallet ? 470 : 445,
child: Observer(
builder: (_) {
return PageView.builder(
@@ -259,7 +259,7 @@ class SendPage extends BasePage {
EdgeInsets.only(left: 24, right: 24, bottom: 24),
bottomSection: Column(
children: [
if (sendViewModel.isAddReceiverButtonEnabled) Padding(
if (sendViewModel.isElectrumWallet) Padding(
padding: EdgeInsets.only(bottom: 12),
child: PrimaryButton(
onPressed: () {
+1 -1
View File
@@ -80,7 +80,7 @@ class SendCardState extends State<SendCard>
)
]),
child: Container(
height: 470,
height: sendViewModel.isElectrumWallet ? 470 : 445,
decoration: BoxDecoration(
borderRadius: BorderRadius.only(
bottomLeft: Radius.circular(24),