request pin when resume event is fired
This commit is contained in:
parent
107694cd58
commit
015708529b
1 changed files with 5 additions and 1 deletions
|
|
@ -1175,7 +1175,11 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
|
|||
});
|
||||
|
||||
$ionicPlatform.on('resume', function() {
|
||||
// Nothing to do
|
||||
configService.whenAvailable(function(config) {
|
||||
if (platformInfo.isCordova && config.pincode && config.pincode.enabled) {
|
||||
$state.go('pincode');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$ionicPlatform.on('menubutton', function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue