mirror of
https://github.com/ilyakooo0/urbit.git
synced 2025-01-04 05:05:35 +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}
|
mr={3}
|
||||||
fontSize={1}
|
fontSize={1}
|
||||||
borderRadius='24px'
|
borderRadius='24px'
|
||||||
|
border='none'
|
||||||
height='48px'
|
height='48px'
|
||||||
onClick={() => this.sendBitcoin(txHex)}
|
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"}}
|
style={{cursor: (this.state.ready && !error) ? "pointer" : "default"}}
|
||||||
/>
|
/>
|
||||||
{this.state.broadcasting ? <LoadingSpinner mr={3}/> : null}
|
{this.state.broadcasting ? <LoadingSpinner mr={3}/> : null}
|
||||||
|
Loading…
Reference in New Issue
Block a user