mirror of
https://github.com/boldsuck/haveno.git
synced 2025-01-03 14:49:25 +00:00
fix jfx error in MainView
This commit is contained in:
parent
7e898ba23d
commit
2f0ea48a31
1 changed files with 16 additions and 15 deletions
|
@ -352,8 +352,8 @@ public class MainView extends InitializableView<StackPane, MainViewModel> {
|
|||
settingsButtonWithBadge.getStyleClass().add("new");
|
||||
|
||||
navigation.addListener((viewPath, data) -> {
|
||||
if (viewPath.size() != 2 || viewPath.indexOf(MainView.class) != 0)
|
||||
return;
|
||||
UserThread.execute(() -> {
|
||||
if (viewPath.size() != 2 || viewPath.indexOf(MainView.class) != 0) return;
|
||||
|
||||
Class<? extends View> viewClass = viewPath.tip();
|
||||
View view = viewLoader.load(viewClass);
|
||||
|
@ -370,6 +370,7 @@ public class MainView extends InitializableView<StackPane, MainViewModel> {
|
|||
navigation.navigateTo(MainView.class, MarketView.class, OfferBookChartView.class);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
VBox splashScreen = createSplashScreen();
|
||||
|
||||
|
|
Loading…
Reference in a new issue