removed scanner tip

This commit is contained in:
Jamal Jackson 2016-10-07 16:42:51 -04:00
commit 93625092c5
2 changed files with 1 additions and 37 deletions

View file

@ -73,28 +73,7 @@ angular.module('copayApp.controllers').controller('scannerController', function(
};
$scope.init = function() {
if (platformInfo.isCordova) scannerInit();
else checkTips();
};
function checkTips() {
//TODO addapt tips to the new QR plugin (mobile)
storageService.getScanTipsAccepted(function(err, accepted) {
if (err) $log.warn(err);
if (accepted) {
scannerInit();
return;
}
$timeout(function() {
$ionicModal.fromTemplateUrl('views/modals/scan-tips.html', {
scope: $scope
}).then(function(modal) {
$scope.scanTipsModal = modal;
$scope.scanTipsModal.show();
});
}, 1000);
});
scannerInit();
};
$scope.$on('TipsModalClosed', function(event) {