Skip to content

Commit

Permalink
Update Camera Screen texts to reflect that it can also be used for re…
Browse files Browse the repository at this point in the history
…ceiving btc

The camera screen is usually used for sending bitcoin by scanning a QR code
or pasting an address (or invoice). But it can also be used for receiving
bitcoin by redeeming an Azteco (azte.co) voucher, and soon via lightning with
lnurl-withdraw.
  • Loading branch information
timothyej committed Jul 17, 2020
1 parent 924335d commit 3e3c1cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/CameraScreenHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default class CameraScreenHeader extends Component {
return (
<View style={styles.header}>
<StyledText style={[headerStyles.title, styles.title, styles.textShadow]}>
Send Bitcoin
Send or Receive Bitcoin
</StyledText>

<ForwardWhiteButton
Expand Down
6 changes: 3 additions & 3 deletions src/components/QrCodeScanner.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,13 +234,13 @@ export default class QrCodeScanner extends Component {

_renderButton(cameraAuthorized) {
const { copiedAddress } = this.state;
const subtitle = copiedAddress || 'No Address to Paste';
const subtitle = copiedAddress || 'Nothing to Paste';
const disabled = !copiedAddress;

if (cameraAuthorized) {
return (
<VibrancyButton
label='Paste Address'
label='Paste'
subtitle={subtitle}
disabled={disabled}
onPress={this._onPaste.bind(this)}
Expand All @@ -265,7 +265,7 @@ export default class QrCodeScanner extends Component {

<ContentView hasToolbar={true} style={styles.content}>
<Paragraph style={styles.text}>
Scan a QR code or paste an address to send bitcoin.
Scan a QR code to send or receive bitcoin.
</Paragraph>

{ this._renderViewport(cameraAuthorized) }
Expand Down

0 comments on commit 3e3c1cf

Please sign in to comment.