Updated pages
This commit is contained in:
parent
794edf902a
commit
809cf7aa5f
3 changed files with 17 additions and 11 deletions
|
|
@ -69,7 +69,6 @@ class _BarcodeScannerScreenState extends State<BarcodeScannerScreen> {
|
|||
final qr = value.substring(35);
|
||||
final response = await getApi('check-qr', qr, null);
|
||||
final result = response["result"]?.toString();
|
||||
log('result: $result');
|
||||
|
||||
if (result != null) {
|
||||
setState(() {
|
||||
|
|
@ -103,8 +102,7 @@ class _BarcodeScannerScreenState extends State<BarcodeScannerScreen> {
|
|||
await blocSetQr(context, qrResult);
|
||||
}
|
||||
|
||||
void gotoDetails() async {
|
||||
log('qr $qrResult');
|
||||
void gotoDetails() {
|
||||
updateBlockQr();
|
||||
context.push('/details');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue