mirror of
https://github.com/bisq-network/bisq.git
synced 2025-03-13 11:09:10 +01:00
small bugfixes
This commit is contained in:
parent
919cde4e43
commit
e8761467ca
3 changed files with 7 additions and 2 deletions
|
@ -21,6 +21,8 @@ package io.bitsquare.gui.components;
|
|||
import javafx.scene.layout.*;
|
||||
|
||||
public class HSpacer extends Pane {
|
||||
public HSpacer() {
|
||||
}
|
||||
|
||||
public HSpacer(double width) {
|
||||
setPrefWidth(width);
|
||||
|
|
|
@ -21,6 +21,8 @@ package io.bitsquare.gui.components;
|
|||
import javafx.scene.layout.*;
|
||||
|
||||
public class VSpacer extends Pane {
|
||||
public VSpacer() {
|
||||
}
|
||||
|
||||
public VSpacer(double height) {
|
||||
setPrefHeight(height);
|
||||
|
|
|
@ -116,9 +116,10 @@ public class User implements Serializable {
|
|||
public void setCurrentBankAccount(@Nullable BankAccount bankAccount) {
|
||||
currentBankAccount = bankAccount;
|
||||
|
||||
BSFormatter.setFiatCurrencyCode(currentBankAccount.getCurrency().getCurrencyCode());
|
||||
if (bankAccount != null)
|
||||
BSFormatter.setFiatCurrencyCode(currentBankAccount.getCurrency().getCurrencyCode());
|
||||
|
||||
int index = -1;
|
||||
int index;
|
||||
for (index = 0; index < bankAccounts.size(); index++) {
|
||||
if (currentBankAccount != null && currentBankAccount.equals(bankAccounts.get(index)))
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue