Fix click on notification

This commit is contained in:
Gustavo Maximiliano Cortez 2017-03-09 14:43:17 -03:00
commit 7cb407bf5f
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF

View file

@ -112,7 +112,10 @@ angular.module('copayApp.services').factory('pushNotificationsService', function
historyRoot: true
});
$ionicHistory.clearHistory();
$state.go('tabs.home').then(function() {
$state.go('tabs.home', {}, {
'reload': true,
'notify': $state.current.name == 'tabs.home' ? false : true
}).then(function() {
_openWallet(walletIdHashed);
});
} else {