mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 15:10:44 +01:00
Fix dev setup
This commit is contained in:
parent
099118a75a
commit
1b102c6363
2 changed files with 2 additions and 3 deletions
|
@ -165,8 +165,8 @@ class CreateOfferViewModel extends ActivatableWithDataModel<CreateOfferDataModel
|
|||
if (DevFlags.DEV_MODE) {
|
||||
amount.set("0.0001");
|
||||
minAmount.set(amount.get());
|
||||
price.set("0.02");
|
||||
volume.set("0.04");
|
||||
price.set("600");
|
||||
volume.set("0.12");
|
||||
|
||||
setAmountToModel();
|
||||
setMinAmountToModel();
|
||||
|
|
|
@ -523,7 +523,6 @@ public class TakeOfferView extends ActivatableViewAndModel<AnchorPane, TakeOffer
|
|||
showTransactionPublishedScreenSubscription = EasyBind.subscribe(model.showTransactionPublishedScreen, newValue -> {
|
||||
if (newValue && DevFlags.DEV_MODE) {
|
||||
close();
|
||||
navigation.navigateTo(MainView.class, PortfolioView.class, PendingTradesView.class);
|
||||
} else if (newValue && model.getTrade() != null && model.getTrade().errorMessageProperty().get() == null) {
|
||||
String key = "takeOfferSuccessInfo";
|
||||
if (preferences.showAgain(key)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue