mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-10-01 01:35:48 -04:00
fix navigation links from market view to offer view #974
Co-authored-by: nsec1 <167650977+nsec1@users.noreply.github.com>
This commit is contained in:
parent
b963fd501f
commit
99bb29e0b0
@ -352,7 +352,7 @@ public class MainView extends InitializableView<StackPane, MainViewModel> {
|
|||||||
settingsButtonWithBadge.getStyleClass().add("new");
|
settingsButtonWithBadge.getStyleClass().add("new");
|
||||||
|
|
||||||
navigation.addListener((viewPath, data) -> {
|
navigation.addListener((viewPath, data) -> {
|
||||||
UserThread.execute(() -> {
|
UserThread.await(() -> {
|
||||||
if (viewPath.size() != 2 || viewPath.indexOf(MainView.class) != 0) return;
|
if (viewPath.size() != 2 || viewPath.indexOf(MainView.class) != 0) return;
|
||||||
|
|
||||||
Class<? extends View> viewClass = viewPath.tip();
|
Class<? extends View> viewClass = viewPath.tip();
|
||||||
|
Loading…
Reference in New Issue
Block a user