Skip to content

Commit 5681880

Browse files
committed
Fix decoded signal not sent for NFC tag captures
1 parent f31b739 commit 5681880

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/qml/CodeReader.qml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ Popup {
5656
}
5757
}
5858

59+
onDecodedStringChanged: {
60+
if (decodedString != "") {
61+
decoded(decodedString);
62+
}
63+
}
64+
5965
QfCameraPermission {
6066
id: cameraPermission
6167
}
@@ -73,7 +79,6 @@ Popup {
7379
if (decodedString !== '') {
7480
codeReader.decodedString = decodedString;
7581
decodedFlashAnimation.start();
76-
decoded(decodedString);
7782
}
7883
}
7984
}

0 commit comments

Comments
 (0)