Redirecting to new Review screen when sending max.

This commit is contained in:
Brendon Duncan 2018-08-01 11:33:24 +12:00
commit f3a350f664
4 changed files with 11 additions and 6 deletions

View file

@ -508,7 +508,7 @@ angular.module('copayApp.controllers').controller('amountController', function($
}
}
$state.transitionTo('tabs.send.confirm', confirmData);
$state.transitionTo('tabs.send.review', confirmData);
}
$scope.useSendMax = null;
}

View file

@ -0,0 +1,9 @@
'use strict';
angular
.module('copayApp.controllers')
.controller('reviewController', reviewController);
function reviewController() {
var vm = this;
}

View file

@ -1,5 +0,0 @@
'use strict';
angular.module('copayApp.controllers').controller('reviewController', function($rootScope, $scope, $interval, $filter, $timeout, $ionicScrollDelegate, gettextCatalog, walletService, platformInfo, lodash, configService, $stateParams, $window, $state, $log, profileService, bitcore, bitcoreCash, txFormatService, ongoingProcess, $ionicModal, popupService, $ionicHistory, $ionicConfig, payproService, feeService, bwcError, txConfirmNotification, externalLinkService, firebaseEventsService, soundService) {
});

View file

@ -321,6 +321,7 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
views: {
'tab-send@tabs': {
controller: 'reviewController',
controllerAs: 'vm',
templateUrl: 'views/review.html'
}
},