Skip to content

Commit

Permalink
Fix ViewRouter
Browse files Browse the repository at this point in the history
  • Loading branch information
taldekar committed Feb 10, 2025
1 parent 9ceb767 commit c2a9446
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ private ViewRouter(final Builder builder) {
builder.lspStateObservable = Activator.getEventBroker().ofObservable(LspState.class);
}

if (builder.browserCompatibilityState == null) {
builder.browserCompatibilityState = Activator.getEventBroker()
.ofObservable(BrowserCompatibilityState.class);
}

if (builder.webViewAssetState == null) {
builder.webViewAssetState = Activator.getEventBroker().ofObservable(WebViewAssetState.class);
}
Expand Down

0 comments on commit c2a9446

Please sign in to comment.