mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-20 10:22:18 +01:00
Fix wrong redundatnt % symbol in take offer screen
This commit is contained in:
parent
63cdbaf23b
commit
d939c902f0
@ -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;");
|
||||
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user