mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 23:18:17 +01:00
Add option key daoActivated to enable all dao features for dev
This commit is contained in:
parent
006e682249
commit
41b6155273
3 changed files with 3 additions and 3 deletions
|
@ -73,7 +73,7 @@ public class DaoView extends ActivatableViewAndModel<TabPane, Activatable> {
|
|||
votingTab.setClosable(false);
|
||||
root.getTabs().addAll(compensationTab, votingTab);
|
||||
|
||||
if (!BisqEnvironment.isDAOActivatedAndBaseCurrencySupportingBsq() || !DevEnv.DAO_PHASE2_ACTIVATED) {
|
||||
if (!BisqEnvironment.isDAOActivatedAndBaseCurrencySupportingBsq() || !DevEnv.isDaoPhase2Activated()) {
|
||||
votingTab.setDisable(true);
|
||||
compensationTab.setDisable(true);
|
||||
}
|
||||
|
|
|
@ -952,7 +952,7 @@ public abstract class EditableOfferView<M extends EditableOfferViewModel> extend
|
|||
GridPane.setMargin(nextButton, new Insets(-35, 0, 0, 0));
|
||||
nextButton.setOnAction(e -> {
|
||||
if (model.isPriceInRange()) {
|
||||
if (DevEnv.DAO_TRADING_ACTIVATED)
|
||||
if (DevEnv.isDaoTradingActivated())
|
||||
showFeeOption();
|
||||
else
|
||||
onShowPayFundsScreen();
|
||||
|
|
|
@ -763,7 +763,7 @@ public class TakeOfferView extends ActivatableViewAndModel<AnchorPane, TakeOffer
|
|||
}
|
||||
|
||||
private void showNextStepAfterAmountIsSet() {
|
||||
if (DevEnv.DAO_TRADING_ACTIVATED)
|
||||
if (DevEnv.isDaoTradingActivated())
|
||||
showFeeOption();
|
||||
else
|
||||
onShowPayFundsScreen();
|
||||
|
|
Loading…
Add table
Reference in a new issue