refactor sign
This commit is contained in:
parent
6d35fe1239
commit
bef3e5789c
4 changed files with 139 additions and 340 deletions
|
|
@ -1463,20 +1463,6 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
self.setTab(tab, reset);
|
||||
});
|
||||
|
||||
$rootScope.$on('Local/RequestTouchid', function(event, cb) {
|
||||
window.plugins.touchid.verifyFingerprint(
|
||||
gettextCatalog.getString('Scan your fingerprint please'),
|
||||
function(msg) {
|
||||
// OK
|
||||
return cb();
|
||||
},
|
||||
function(msg) {
|
||||
// ERROR
|
||||
return cb(gettext('Error with Touch ID:') + msg);
|
||||
}
|
||||
);
|
||||
});
|
||||
|
||||
$rootScope.$on('Local/NeedsPassword', function(event, isSetup, cb) {
|
||||
self.askPassword = {
|
||||
isSetup: isSetup,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue