mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Fix wrong check to show BSQ swap as default for create offer
This commit is contained in:
parent
098ece2a87
commit
2055cc5c10
@ -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…
Reference in New Issue
Block a user