modifica lunghezza stringa controllo qr code
avendo cambiato algoritmo di criptazione, abbiamo accorciato la lunghezza della stringa
This commit is contained in:
parent
c097b1aa7a
commit
3e786c431b
@ -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;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user