fixing application reload
This commit is contained in:
parent
4dfc1f9559
commit
a115a6d17a
3 changed files with 6 additions and 5 deletions
|
|
@ -5,7 +5,7 @@ angular.module('copayApp.services')
|
|||
var isChromeApp = window.chrome && chrome.runtime && chrome.runtime.id;
|
||||
|
||||
root.restart = function() {
|
||||
if (window.cordova !== undefined) {
|
||||
if (1 || window.cordova !== undefined) {
|
||||
$rootScope.iden = $rootScope.wallet = undefined;
|
||||
// NOP. no need to restart on cordova apps.
|
||||
$location.path('/');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue