confirm screen: display address + back button logic in origin/destination screens

This commit is contained in:
Sebastiaan Pasma 2018-07-25 16:05:07 +02:00
commit 79d6b4d7ad
No known key found for this signature in database
GPG key ID: 9A2B0C8B95A1D26F
2 changed files with 14 additions and 3 deletions

View file

@ -1,6 +1,6 @@
'use strict';
angular.module('copayApp.controllers').controller('sendFlowController', function($scope, $rootScope, $state, $stateParams, $log, configService, gettextCatalog, profileService) {
angular.module('copayApp.controllers').controller('sendFlowController', function($scope, $rootScope, $state, $stateParams, $log, $ionicHistory, configService, gettextCatalog, profileService) {
$scope.$on("$ionicView.beforeEnter", function(event, data) {
var config = configService.getSync().wallet.settings;
@ -60,4 +60,9 @@ angular.module('copayApp.controllers').controller('sendFlowController', function
}
$state.transitionTo(getNextStep(), $scope.params);
};
$scope.goBack = function() {
$ionicHistory.goBack();
}
});