Merge pull request #5140 from cmgustavo/bug/send-flow-02

After send funds return to tab-home
This commit is contained in:
Javier Donadío 2016-12-02 17:50:50 -03:00 committed by GitHub
commit 4798dd215e

View file

@ -519,7 +519,14 @@ angular.module('copayApp.controllers').controller('confirmController', function(
});
});
} else {
$state.go('tabs.send');
$ionicHistory.nextViewOptions({
disableAnimate: true,
historyRoot: true
});
$ionicHistory.clearHistory();
$state.go('tabs.send').then(function() {
$state.transitionTo('tabs.home');
});
}
};