add dead view (wip) - fix last/current state
This commit is contained in:
parent
824362af7c
commit
014995fd36
5 changed files with 79 additions and 13 deletions
13
src/js/controllers/deadview.js
Normal file
13
src/js/controllers/deadview.js
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('deadviewController', function($state, $scope, $ionicHistory, fingerprintService) {
|
||||
|
||||
$scope.requestFingerprint = function() {
|
||||
fingerprintService.check('unlockingApp', function(err) {
|
||||
if (err) return;
|
||||
$state.transitionTo('tabs.home').then(function() {
|
||||
$ionicHistory.clearHistory();
|
||||
});
|
||||
});
|
||||
};
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue