From f860efee6ccc9434d0f4698bfaed5e52e6dcdea0 Mon Sep 17 00:00:00 2001 From: pkova Date: Tue, 15 Jun 2021 14:02:02 +0300 Subject: [PATCH] btc: match bridgeInvoice.js sending button style to invoice.js --- pkg/btc-wallet/src/js/components/lib/bridgeInvoice.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkg/btc-wallet/src/js/components/lib/bridgeInvoice.js b/pkg/btc-wallet/src/js/components/lib/bridgeInvoice.js index 3a206e62b..acc147a8e 100644 --- a/pkg/btc-wallet/src/js/components/lib/bridgeInvoice.js +++ b/pkg/btc-wallet/src/js/components/lib/bridgeInvoice.js @@ -221,9 +221,12 @@ export default class BridgeInvoice extends Component { mr={3} fontSize={1} borderRadius='24px' + border='none' height='48px' onClick={() => this.sendBitcoin(txHex)} - disabled={!this.state.ready || error} + disabled={!this.state.ready || error || this.state.broadcasting} + color={(this.state.ready && !error && !this.state.broadcasting) ? "white" : "lighterGray"} + backgroundColor={(this.state.ready && !error && !this.state.broadcasting) ? "green" : "veryLightGray"} style={{cursor: (this.state.ready && !error) ? "pointer" : "default"}} /> {this.state.broadcasting ? : null}