Can now scan good data after scanning bad data.

This commit is contained in:
Brendon Duncan 2018-09-03 16:56:30 +12:00
commit 1c2c381317

View file

@ -115,7 +115,8 @@ angular.module('copayApp.controllers').controller('tabScanController', function(
if (err) { if (err) {
var title = gettextCatalog.getString('Scan Failed'); var title = gettextCatalog.getString('Scan Failed');
popupService.showAlert(title, err.message, function onAlertShown() { popupService.showAlert(title, err.message, function onAlertShown() {
scannerService.resumePreview(); // Enable another scan since we won't receive incomingDataMenu.menuHidden
activate();
}); });
} else { } else {
scannerService.resumePreview(); scannerService.resumePreview();