mirror of
https://github.com/urbit/shrub.git
synced 2024-11-28 13:54:20 +03:00
btc: match bridgeInvoice.js sending button style to invoice.js
This commit is contained in:
parent
8495894c7b
commit
f860efee6c
@ -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 ? <LoadingSpinner mr={3}/> : null}
|
||||
|
Loading…
Reference in New Issue
Block a user