mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 15:10:44 +01:00
Merge pull request #5933 from jmacxx/fix_issue_5932
Fix NPE taking offer when an account has no selected currency
This commit is contained in:
commit
963b966f7f
1 changed files with 2 additions and 2 deletions
|
@ -839,8 +839,8 @@ public class GUIUtil {
|
|||
return true;
|
||||
}
|
||||
|
||||
public static boolean canCreateOrTakeOfferOrShowPopup(User user, Navigation navigation, TradeCurrency currency) {
|
||||
if (currency.getCode().equals("BSQ")) {
|
||||
public static boolean canCreateOrTakeOfferOrShowPopup(User user, Navigation navigation, @Nullable TradeCurrency currency) {
|
||||
if (currency != null && currency.getCode().equals("BSQ")) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue