From 7cb407bf5fc48f7550220e5443d61f97ef6f8264 Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Thu, 9 Mar 2017 14:43:17 -0300 Subject: [PATCH] Fix click on notification --- src/js/services/pushNotificationsService.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/js/services/pushNotificationsService.js b/src/js/services/pushNotificationsService.js index b252e4b60..756cf9db9 100644 --- a/src/js/services/pushNotificationsService.js +++ b/src/js/services/pushNotificationsService.js @@ -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 {