Merge pull request #249 from Bitcoin-com/wallet/task/514
Wallet/task/514
This commit is contained in:
commit
73b18b16b6
3 changed files with 10 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('shapeshiftController', function($scope, $state, $interval, profileService, walletService, popupService, lodash, $ionicNavBarDelegate) {
|
||||
angular.module('copayApp.controllers').controller('shapeshiftController', function($scope, $state, $timeout, $ionicHistory, profileService, walletService, popupService, lodash, $ionicNavBarDelegate) {
|
||||
var walletsBtc = [];
|
||||
var walletsBch = [];
|
||||
|
||||
|
|
@ -66,8 +66,14 @@ angular.module('copayApp.controllers').controller('shapeshiftController', functi
|
|||
var params = {
|
||||
thirdParty: JSON.stringify({id: 'shapeshift'})
|
||||
};
|
||||
|
||||
$state.go('tabs.home').then(function() {
|
||||
$state.transitionTo('tabs.send.origin', params);
|
||||
$ionicHistory.clearHistory();
|
||||
$state.go('tabs.send').then(function() {
|
||||
$timeout(function () {
|
||||
$state.transitionTo('tabs.send.origin', params);
|
||||
}, 60);
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<ion-view id="view-review" hide-tabs>
|
||||
<ion-view id="view-review" can-swipe-back="false" hide-tabs>
|
||||
<ion-nav-bar class="bar-royal {{vm.origin.currency.toLowerCase()}}">
|
||||
<ion-nav-title>
|
||||
{{'Review Transaction' | translate}}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<ion-view id="wallet-origin-destination" show-tabs>
|
||||
<ion-view id="wallet-origin-destination" hide-tabs>
|
||||
<ion-nav-bar class="bar-royal">
|
||||
<ion-nav-title>{{sendFlowTitle}}</ion-nav-title>
|
||||
<ion-nav-back-button ng-click="goBack()"></ion-nav-back-button>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue