mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-25 07:27:18 +01:00
Remove currency field
This commit is contained in:
parent
cf6f209592
commit
81c88c4bfc
2 changed files with 2 additions and 5 deletions
|
@ -133,7 +133,7 @@ public class OfferDetailsWindow extends Overlay<OfferDetailsWindow> {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void addContent() {
|
private void addContent() {
|
||||||
int rows = 6;
|
int rows = 5;
|
||||||
|
|
||||||
List<String> acceptedBanks = offer.getAcceptedBankIds();
|
List<String> acceptedBanks = offer.getAcceptedBankIds();
|
||||||
boolean showAcceptedBanks = acceptedBanks != null && !acceptedBanks.isEmpty();
|
boolean showAcceptedBanks = acceptedBanks != null && !acceptedBanks.isEmpty();
|
||||||
|
@ -174,8 +174,6 @@ public class OfferDetailsWindow extends Overlay<OfferDetailsWindow> {
|
||||||
|
|
||||||
addLabelTextField(gridPane, ++rowIndex, "Price:", formatter.formatFiat(offer.getPrice()) + " " + offer.getCurrencyCode() + "/" + "BTC");
|
addLabelTextField(gridPane, ++rowIndex, "Price:", formatter.formatFiat(offer.getPrice()) + " " + offer.getCurrencyCode() + "/" + "BTC");
|
||||||
|
|
||||||
addLabelTextField(gridPane, ++rowIndex, "Currency:", offer.getCurrencyCode());
|
|
||||||
|
|
||||||
if (offer.isMyOffer(keyRing) && user.getPaymentAccount(offer.getOffererPaymentAccountId()) != null)
|
if (offer.isMyOffer(keyRing) && user.getPaymentAccount(offer.getOffererPaymentAccountId()) != null)
|
||||||
addLabelTextField(gridPane, ++rowIndex, "Payment account:", user.getPaymentAccount(offer.getOffererPaymentAccountId()).getAccountName());
|
addLabelTextField(gridPane, ++rowIndex, "Payment account:", user.getPaymentAccount(offer.getOffererPaymentAccountId()).getAccountName());
|
||||||
else
|
else
|
||||||
|
|
|
@ -109,7 +109,7 @@ public class TradeDetailsWindow extends Overlay<TradeDetailsWindow> {
|
||||||
Offer offer = trade.getOffer();
|
Offer offer = trade.getOffer();
|
||||||
Contract contract = trade.getContract();
|
Contract contract = trade.getContract();
|
||||||
|
|
||||||
int rows = 6;
|
int rows = 5;
|
||||||
addTitledGroupBg(gridPane, ++rowIndex, rows, "Trade");
|
addTitledGroupBg(gridPane, ++rowIndex, rows, "Trade");
|
||||||
|
|
||||||
boolean myOffer = tradeManager.isMyOffer(offer);
|
boolean myOffer = tradeManager.isMyOffer(offer);
|
||||||
|
@ -128,7 +128,6 @@ public class TradeDetailsWindow extends Overlay<TradeDetailsWindow> {
|
||||||
addLabelTextField(gridPane, ++rowIndex, "Bitcoin amount" + btcDirectionInfo, formatter.formatCoinWithCode(trade.getTradeAmount()));
|
addLabelTextField(gridPane, ++rowIndex, "Bitcoin amount" + btcDirectionInfo, formatter.formatCoinWithCode(trade.getTradeAmount()));
|
||||||
addLabelTextField(gridPane, ++rowIndex, CurrencyUtil.getNameByCode(offer.getCurrencyCode()) + " amount" + fiatDirectionInfo, formatter.formatFiatWithCode(trade.getTradeVolume()));
|
addLabelTextField(gridPane, ++rowIndex, CurrencyUtil.getNameByCode(offer.getCurrencyCode()) + " amount" + fiatDirectionInfo, formatter.formatFiatWithCode(trade.getTradeVolume()));
|
||||||
addLabelTextField(gridPane, ++rowIndex, "Price:", formatter.formatPriceWithCode(offer.getPrice()));
|
addLabelTextField(gridPane, ++rowIndex, "Price:", formatter.formatPriceWithCode(offer.getPrice()));
|
||||||
addLabelTextField(gridPane, ++rowIndex, "Currency:", offer.getCurrencyCode());
|
|
||||||
addLabelTextField(gridPane, ++rowIndex, "Payment method:", BSResources.get(offer.getPaymentMethod().getId()));
|
addLabelTextField(gridPane, ++rowIndex, "Payment method:", BSResources.get(offer.getPaymentMethod().getId()));
|
||||||
|
|
||||||
// second group
|
// second group
|
||||||
|
|
Loading…
Add table
Reference in a new issue