fix blank page when redirected to national currencies tab

This commit is contained in:
woodser 2022-07-14 10:54:07 -04:00
parent 003fac3da4
commit 83c5d505c3
2 changed files with 16 additions and 18 deletions

View File

@ -357,7 +357,6 @@ public class MainView extends InitializableView<StackPane, MainViewModel> {
settingsButtonWithBadge.getStyleClass().add("new");
navigation.addListener((viewPath, data) -> {
UserThread.execute(() -> {
if (viewPath.size() != 2 || viewPath.indexOf(MainView.class) != 0)
return;
@ -376,7 +375,6 @@ public class MainView extends InitializableView<StackPane, MainViewModel> {
navigation.navigateTo(MainView.class, MarketView.class, OfferBookChartView.class);
}
});
});
VBox splashScreen = createSplashScreen();

View File

@ -268,7 +268,7 @@ public class MainViewModel implements ViewModel, HavenoSetup.HavenoSetupListener
setupDevDummyPaymentAccounts();
}
getShowAppScreen().set(true);
UserThread.execute(() -> getShowAppScreen().set(true));
// We only show the popup if the user has already set up any fiat account. For new users it is not a rule
// change and for altcoins its not relevant.