mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-20 02:12:00 +01:00
Rename transaction to transactions
This commit is contained in:
parent
8621bebdc0
commit
7eff8dc02e
@ -40,7 +40,7 @@ import static io.bitsquare.gui.util.FormBuilder.addMultilineLabel;
|
||||
public class SelectDepositTxWindow extends Overlay<SelectDepositTxWindow> {
|
||||
private static final Logger log = LoggerFactory.getLogger(SelectDepositTxWindow.class);
|
||||
private ComboBox<Transaction> transactionsComboBox;
|
||||
private List<Transaction> transaction;
|
||||
private List<Transaction> transactions;
|
||||
private Optional<Consumer<Transaction>> selectHandlerOptional;
|
||||
|
||||
|
||||
@ -73,7 +73,7 @@ public class SelectDepositTxWindow extends Overlay<SelectDepositTxWindow> {
|
||||
}
|
||||
|
||||
public SelectDepositTxWindow transactions(List<Transaction> transaction) {
|
||||
this.transaction = transaction;
|
||||
this.transactions = transaction;
|
||||
return this;
|
||||
}
|
||||
|
||||
@ -110,7 +110,7 @@ public class SelectDepositTxWindow extends Overlay<SelectDepositTxWindow> {
|
||||
return null;
|
||||
}
|
||||
});
|
||||
transactionsComboBox.setItems(FXCollections.observableArrayList(transaction));
|
||||
transactionsComboBox.setItems(FXCollections.observableArrayList(transactions));
|
||||
transactionsComboBox.setOnAction(event -> {
|
||||
selectHandlerOptional.get().accept(transactionsComboBox.getSelectionModel().getSelectedItem());
|
||||
hide();
|
||||
|
Loading…
Reference in New Issue
Block a user