Fix - 291/292
- White screen & Remove the button "Send max amount" in receive specific amount"
This commit is contained in:
parent
baad3a88f6
commit
132939447e
2 changed files with 7 additions and 2 deletions
|
|
@ -133,6 +133,11 @@ angular.module('copayApp.controllers').controller('amountController', function($
|
|||
setAvailableUnits();
|
||||
updateUnitUI();
|
||||
|
||||
$scope.hasMaxAmount = true;
|
||||
if ($ionicHistory.backView().stateName == 'tabs.receive') {
|
||||
$scope.hasMaxAmount = false;
|
||||
}
|
||||
|
||||
$scope.showMenu = $ionicHistory.backView() && ($ionicHistory.backView().stateName == 'tabs.send' || $ionicHistory.backView().stateName == 'tabs.bitpayCard');
|
||||
$scope.recipientType = data.stateParams.recipientType || null;
|
||||
$scope.toAddress = data.stateParams.toAddress;
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@
|
|||
<div class="amount__result-equiv"><> {{alternativeAmount || '0.00'}} {{alternativeUnit}}</div>
|
||||
</div>
|
||||
<div>
|
||||
<button class="button button-sendmax" ng-click="sendMax()">
|
||||
<button ng-if="hasMaxAmount" class="button button-sendmax" ng-click="sendMax()">
|
||||
<span>
|
||||
<i class="icon ion-ios-speedometer-outline"></i> 
|
||||
<span translate>Send max amount</span>
|
||||
|
|
@ -77,7 +77,7 @@
|
|||
<span><> {{alternativeAmount || '0.00'}} {{alternativeUnit}}</span>
|
||||
</div>
|
||||
<div>
|
||||
<button class="button button-sendmax" ng-click="sendMax()">
|
||||
<button ng-if="hasMaxAmount" class="button button-sendmax" ng-click="sendMax()">
|
||||
<span>
|
||||
<i class="icon ion-ios-speedometer-outline"></i> 
|
||||
<span translate>Send max amount</span>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue