Improvement - 339 - "Payment received" screen is skipped after first transaction
This commit is contained in:
parent
9a3e0fdb06
commit
56a59093ee
2 changed files with 6 additions and 2 deletions
|
|
@ -126,7 +126,7 @@ angular.module('copayApp.controllers').controller('tabReceiveController', functi
|
|||
}
|
||||
}
|
||||
$scope.paymentReceivedCoin = $scope.wallet.coin;
|
||||
$scope.showingPaymentReceived = true
|
||||
$scope.showingPaymentReceived = true;
|
||||
$scope.$apply();
|
||||
}
|
||||
}
|
||||
|
|
@ -248,6 +248,10 @@ angular.module('copayApp.controllers').controller('tabReceiveController', functi
|
|||
$scope.setAddress();
|
||||
};
|
||||
|
||||
$scope.togglePaymentScreen = function() {
|
||||
$scope.showingPaymentReceived = !$scope.showingPaymentReceived;
|
||||
};
|
||||
|
||||
$scope.showWalletSelector = function() {
|
||||
if ($scope.singleWallet) return;
|
||||
$scope.walletSelectorTitle = gettextCatalog.getString('Select a wallet');
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<!-- animation for payment received -->
|
||||
<div class="payment-received-container" ng-show="showingPaymentReceived" ng-click="showingPaymentReceived = false">
|
||||
<div class="payment-received-container" ng-show="showingPaymentReceived" ng-click="togglePaymentScreen()">
|
||||
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 130.2 130.2">
|
||||
<circle class="path circle" fill="none" stroke="#19B234" stroke-width="6" stroke-miterlimit="10" cx="65.1" cy="65.1" r="62.1"/>
|
||||
<polyline class="path check" fill="none" stroke="#19B234" stroke-width="6" stroke-linecap="round" stroke-miterlimit="10" points="100.2,40.2 51.5,88.8 29.8,67.5 "/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue