FIX: lower density for animated QRs (closes #3862)

This commit is contained in:
overtorment 2024-03-23 16:53:07 +00:00 committed by Overtorment
parent 298add643d
commit a5d17e139c

View File

@ -41,7 +41,7 @@ export class DynamicQRCode extends Component<DynamicQRCodeProps, DynamicQRCodeSt
fragments: string[] = []; fragments: string[] = [];
componentDidMount() { componentDidMount() {
const { value, capacity = 200, hideControls = true } = this.props; const { value, capacity = 175, hideControls = true } = this.props;
try { try {
this.fragments = encodeUR(value, capacity); this.fragments = encodeUR(value, capacity);
this.setState( this.setState(