Skip to content

Commit e3946f3

Browse files
committed
move settings tab to last
1 parent c2fbd4b commit e3946f3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

desktop/src/main/java/haveno/desktop/main/MainView.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ protected void initialize() {
172172
ToggleButton fundsButton = new NavButton(FundsView.class, Res.get("mainView.menu.funds").toUpperCase());
173173

174174
ToggleButton supportButton = new NavButton(SupportView.class, Res.get("mainView.menu.support"));
175-
ToggleButton settingsButton = new NavButton(SettingsView.class, Res.get("mainView.menu.settings"));
176175
ToggleButton accountButton = new NavButton(AccountView.class, Res.get("mainView.menu.account"));
176+
ToggleButton settingsButton = new NavButton(SettingsView.class, Res.get("mainView.menu.settings"));
177177

178178
JFXBadge portfolioButtonWithBadge = new JFXBadge(portfolioButton);
179179
JFXBadge supportButtonWithBadge = new JFXBadge(supportButton);
@@ -199,10 +199,10 @@ protected void initialize() {
199199
fundsButton.fire();
200200
} else if (Utilities.isAltOrCtrlPressed(KeyCode.DIGIT6, keyEvent)) {
201201
supportButton.fire();
202-
} else if (Utilities.isAltOrCtrlPressed(KeyCode.DIGIT7, keyEvent)) {
203-
settingsButton.fire();
204202
} else if (Utilities.isAltOrCtrlPressed(KeyCode.DIGIT8, keyEvent)) {
205203
accountButton.fire();
204+
} else if (Utilities.isAltOrCtrlPressed(KeyCode.DIGIT7, keyEvent)) {
205+
settingsButton.fire();
206206
}
207207
});
208208
}
@@ -305,8 +305,8 @@ protected Tooltip computeValue() {
305305
primaryNav.getStyleClass().add("nav-primary");
306306
HBox.setHgrow(primaryNav, Priority.SOMETIMES);
307307

308-
HBox secondaryNav = new HBox(supportButtonWithBadge, getNavigationSpacer(), settingsButtonWithBadge,
309-
getNavigationSpacer(), accountButton, getNavigationSpacer());
308+
HBox secondaryNav = new HBox(supportButtonWithBadge, getNavigationSpacer(), accountButton,
309+
getNavigationSpacer(), settingsButtonWithBadge, getNavigationSpacer());
310310
secondaryNav.getStyleClass().add("nav-secondary");
311311
HBox.setHgrow(secondaryNav, Priority.SOMETIMES);
312312

0 commit comments

Comments
 (0)