mirror of
https://github.com/bisq-network/bisq.git
synced 2025-03-13 11:09:10 +01:00
Fix wrong check to show BSQ swap as default for create offer
This commit is contained in:
parent
098ece2a87
commit
2055cc5c10
1 changed files with 1 additions and 1 deletions
|
@ -295,7 +295,7 @@ public abstract class OfferView extends ActivatableView<TabPane, Void> {
|
|||
// CreateOffer and TakeOffer must not be cached by ViewLoader as we cannot use a view multiple times
|
||||
// in different graphs
|
||||
if ((paymentMethod != null && paymentMethod.isBsqSwap()) ||
|
||||
(paymentMethod == null && viewClass.isAssignableFrom(BsqOfferBookView.class))) {
|
||||
(paymentMethod == null && viewClass.equals(BsqOfferBookView.class))) {
|
||||
view = viewLoader.load(BsqSwapCreateOfferView.class);
|
||||
((BsqSwapCreateOfferView) view).initWithData(direction, offerActionHandler, payload);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue