Fix wrong redundatnt % symbol in take offer screen

This commit is contained in:
Manfred Karrer 2017-10-27 19:42:06 -05:00
parent 63cdbaf23b
commit d939c902f0
No known key found for this signature in database
GPG Key ID: 401250966A6B2C46
2 changed files with 1 additions and 2 deletions

View File

@ -1085,7 +1085,6 @@ public class TakeOfferView extends ActivatableViewAndModel<AnchorPane, TakeOffer
priceAsPercentageInputBoxTuple.first.setPrefWidth(220);
priceAsPercentageInputBox = priceAsPercentageInputBoxTuple.second;
priceAsPercentageTextField.setPromptText(Res.get("shared.enterPercentageValue"));
priceAsPercentageLabel.setText("%");
priceAsPercentageLabel.setStyle("-fx-alignment: center;");

View File

@ -170,7 +170,7 @@ class TakeOfferViewModel extends ActivatableWithDataModel<TakeOfferDataModel> im
amountRange = btcFormatter.formatCoin(offer.getMinAmount()) + " - " + btcFormatter.formatCoin(offer.getAmount());
price = btcFormatter.formatPrice(dataModel.tradePrice);
marketPriceMargin = btcFormatter.formatPercentagePrice(offer.getMarketPriceMargin());
marketPriceMargin = btcFormatter.formatToPercent(offer.getMarketPriceMargin());
paymentLabel = Res.get("takeOffer.fundsBox.paymentLabel", offer.getShortId());
checkNotNull(dataModel.getAddressEntry(), "dataModel.getAddressEntry() must not be null");