diff --git a/public/views/modals/tx-status.html b/public/views/modals/tx-status.html index 53fbd1e46..6d808fafb 100644 --- a/public/views/modals/tx-status.html +++ b/public/views/modals/tx-status.html @@ -7,10 +7,10 @@
Sent
-
+
OKAY
-
+

Would you like to add this address to your address book?

diff --git a/src/js/controllers/modals/txStatus.js b/src/js/controllers/modals/txStatus.js index ea27d5921..ceb4065f8 100644 --- a/src/js/controllers/modals/txStatus.js +++ b/src/js/controllers/modals/txStatus.js @@ -12,12 +12,17 @@ angular.module('copayApp.controllers').controller('txStatusController', function $scope.save = function(addressbookEntry) { $scope.txStatusModal.hide(); + $ionicHistory.nextViewOptions({ + disableAnimate: true, + disableBack: true + }); $state.go('tabs.send.addressbook', { fromSendTab: true, addressbookEntry: addressbookEntry - }) + }); } + $scope.fromSendTab = $ionicHistory.viewHistory().backView.stateName === "tabs.send.amount"; addressbookService.list(function(err, ab) { if (err) $log.error(err); if (ab[$scope.tx.toAddress]) {