Can now scan good data after scanning bad data.
This commit is contained in:
parent
6f28f6ba2b
commit
1c2c381317
1 changed files with 2 additions and 1 deletions
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue