Skip to content

Commit

Permalink
Properly rename main navigation
Browse files Browse the repository at this point in the history
Otherwise it would display the old 'Buy BTC' and 'Sell BTC' navigation
  • Loading branch information
ripcurlx committed Apr 11, 2022
1 parent b734420 commit 5b67766
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions core/src/main/resources/i18n/displayStrings.properties
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,8 @@ shared.enabled=Enabled
####################################################################

mainView.menu.market=Market
mainView.menu.buyBtc=Buy
mainView.menu.sellBtc=Sell
mainView.menu.buy=Buy
mainView.menu.sell=Sell
mainView.menu.portfolio=Portfolio
mainView.menu.funds=Funds
mainView.menu.support=Support
Expand Down
4 changes: 2 additions & 2 deletions desktop/src/main/java/bisq/desktop/main/MainView.java
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ protected void initialize() {
MainView.rootContainer.setNodeOrientation(NodeOrientation.RIGHT_TO_LEFT);

ToggleButton marketButton = new NavButton(MarketView.class, Res.get("mainView.menu.market").toUpperCase());
ToggleButton buyButton = new NavButton(BuyOfferView.class, Res.get("mainView.menu.buyBtc").toUpperCase());
ToggleButton sellButton = new NavButton(SellOfferView.class, Res.get("mainView.menu.sellBtc").toUpperCase());
ToggleButton buyButton = new NavButton(BuyOfferView.class, Res.get("mainView.menu.buy").toUpperCase());
ToggleButton sellButton = new NavButton(SellOfferView.class, Res.get("mainView.menu.sell").toUpperCase());
ToggleButton portfolioButton = new NavButton(PortfolioView.class, Res.get("mainView.menu.portfolio").toUpperCase());
ToggleButton fundsButton = new NavButton(FundsView.class, Res.get("mainView.menu.funds").toUpperCase());

Expand Down

0 comments on commit 5b67766

Please sign in to comment.