Skip to content

Commit

Permalink
Merge pull request #20938 from allroundexperts/revert-19883-fix-19569
Browse files Browse the repository at this point in the history
Revert "fix: add background to share code avatar"
  • Loading branch information
aldo-expensify authored Jun 16, 2023
2 parents 818ca92 + 068ec34 commit 394a34e
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/components/QRCode/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@ const propTypes = {
* The QRCode background color
*/
backgroundColor: PropTypes.string,

/**
* The QRCode logo background color
*/
logoBackgroundColor: PropTypes.string,
/**
* Function to retrieve the internal component ref and be able to call it's
* methods
Expand All @@ -50,7 +45,6 @@ const defaultProps = {
logo: undefined,
size: 120,
color: defaultTheme.text,
logoBackgroundColor: defaultTheme.icon,
backgroundColor: defaultTheme.highlightBG,
getRef: undefined,
logoRatio: CONST.QR.DEFAULT_LOGO_SIZE_RATIO,
Expand All @@ -64,7 +58,7 @@ function QRCode(props) {
value={props.url}
size={props.size}
logo={props.logo}
logoBackgroundColor={props.logoBackgroundColor}
logoBackgroundColor={props.backgroundColor}
logoSize={props.size * props.logoRatio}
logoMargin={props.size * props.logoMarginRatio}
logoBorderRadius={props.size}
Expand Down

0 comments on commit 394a34e

Please sign in to comment.