Merge branch 'fix-id-padding' of https://github.com/eljobe/exchange into eljobe-fix-id-padding

This commit is contained in:
Manfred Karrer 2017-10-06 21:26:26 -05:00
commit ec2b941f15
No known key found for this signature in database
GPG key ID: 401250966A6B2C46

View file

@ -334,6 +334,7 @@ public class BuyerStep2View extends TradeStepView {
String assign = Res.get("portfolio.pending.step2_buyer.assign");
String fees = Res.get("portfolio.pending.step2_buyer.fees");
String id = trade.getShortId();
String paddedId = " " + id + " ";
String amount = model.btcFormatter.formatVolumeWithCode(trade.getTradeVolume());
if (paymentAccountPayload instanceof CryptoCurrencyAccountPayload)
//noinspection UnusedAssignment
@ -350,7 +351,7 @@ public class BuyerStep2View extends TradeStepView {
accountDetails +
paymentDetailsForTradePopup + ".\n" +
copyPaste + "\n\n" +
tradeId + id +
tradeId + paddedId +
assign +
refTextWarn + "\n\n" +
fees + "\n\n" +
@ -361,7 +362,7 @@ public class BuyerStep2View extends TradeStepView {
accountDetails +
paymentDetailsForTradePopup + ".\n" +
copyPaste + "\n\n" +
tradeId + id +
tradeId + paddedId +
assign +
refTextWarn;
else
@ -370,7 +371,7 @@ public class BuyerStep2View extends TradeStepView {
accountDetails +
paymentDetailsForTradePopup + ".\n" +
copyPaste + "\n\n" +
tradeId + id +
tradeId + paddedId +
assign +
refTextWarn + "\n\n" +
fees;