mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-11-27 11:24:14 +01:00
CAKE-345 | removed isAddReceiverButtonEnabled from send_view_model.dart; fixed height of send card
This commit is contained in:
@@ -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: () {
|
||||
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user