diff --git a/src/js/services/applicationService.js b/src/js/services/applicationService.js index fe364a514..9bb9b5048 100644 --- a/src/js/services/applicationService.js +++ b/src/js/services/applicationService.js @@ -50,19 +50,15 @@ angular.module('copayApp.services') }); scope.openModal = function() { scope.fingerprintCheckModal.show(); - checkFingerprint(); + scope.checkFingerprint(); }; scope.hideModal = function() { root.isModalOpen = false; scope.fingerprintCheckModal.hide(); }; - - function checkFingerprint() { + scope.checkFingerprint = function() { fingerprintService.check('unlockingApp', function(err) { - if (err) { - checkFingerprint(); - return; - } + if (err) return; scope.hideModal(); }); } diff --git a/www/views/modals/fingerprintCheck.html b/www/views/modals/fingerprintCheck.html index b5e26937a..e8c97f63e 100644 --- a/www/views/modals/fingerprintCheck.html +++ b/www/views/modals/fingerprintCheck.html @@ -1,10 +1,13 @@
-
+
+
Verify your identity
+
+