rebels2638 / ScoutingApp2023

Filled with love and joyous intent
https://patheticmustan.github.io/ScoutingAppWebBuildTest/
2 stars 1 forks source link

QR code generation will crash if kpvToString is too large #10

Open PatheticMustan opened 1 year ago

PatheticMustan commented 1 year ago

see https://stackoverflow.com/a/11065499

Before setting qrcode modalMatchId, check that the string is smaller than the max size. It's annoying, but better than just flat out crashing.