fixing desktop redirect from starting to home view

This commit is contained in:
Gabriel Bazán 2017-04-06 17:18:57 -03:00
commit c7ed4f831a

View file

@ -1273,17 +1273,16 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
goTo('pin');
} else
goTo('tabs.home');
});
} else goTo('tabs.home');
function goTo(nextView) {
$state.transitionTo(nextView).then(function() {
$ionicHistory.clearHistory();
});
};
function goTo(nextView) {
$state.transitionTo(nextView).then(function() {
$ionicHistory.clearHistory();
});
}
});
}
};
// After everything have been loaded, initialize handler URL
$timeout(function() {
openURLService.init();