modifica lunghezza stringa controllo qr code

avendo cambiato algoritmo di criptazione, abbiamo accorciato la lunghezza della stringa
This commit is contained in:
Francesco Di Sciascio 2025-11-13 16:35:06 +01:00
parent c097b1aa7a
commit da1063f42c

View File

@ -557,8 +557,8 @@ public class PuntoCassa extends JFrame implements ActionListener {
public void run() { public void run() {
String tessera = ""; String tessera = "";
boolean isQrCode = false; boolean isQrCode = false;
//se abbiamo uno \n e la lunghezza è > 200 caratteri, è un qr code //se abbiamo uno \n e la lunghezza è > 80 caratteri, è un qr code
if (testoSwipCard.toString().contains("\n") && testoSwipCard.length() > 200) { if (testoSwipCard.toString().contains("\n") && testoSwipCard.length() > 80) {
recuperaNumeroTesseraQrCode(); recuperaNumeroTesseraQrCode();
isQrCode = true; isQrCode = true;