Skip to content

fix bug in BankApp where clicking on a share would not fully open and… #121

Merged
merged 1 commit into from
May 18, 2026
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public StockAppController(
}

/** Navigates to stock detail page. */
private void navigateToStock(final Stock stock) {
public void navigateToStock(final Stock stock) {
currentStock = stock;
stock.getStockGraph().setVisibility(true);
Platform.runLater(stock::updateStockGraph);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ private List<Popup> initializeApps(GameController gameController, Path userSelec

bankApp.setOnShareSelected(share -> {
popupsController.show(App.STOCK);
stockApp.showStockPage(share.getStock());
stockAppController.navigateToStock(share.getStock());
});

stockAppController.setOnMarketClosed(this::showMarketClosedWarning);
Expand Down