Skip to content

Commit

Permalink
fix: minor addition to guard cef related variable
Browse files Browse the repository at this point in the history
  • Loading branch information
YermekG committed Jan 23, 2024
1 parent 1acba61 commit f084596
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/Immutable/Private/Immutable/ImtblBrowserWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,11 @@ void UImtblBrowserWidget::HandleOnLoadCompleted() {
FString indexUrl = "file:///index.html";
#endif

#if USING_BUNDLED_CEF
if (WebBrowserWidget->GetUrl() == indexUrl) {
JSConnector->SetMobileBridgeReady();
}
#endif
}
#endif

Expand Down

0 comments on commit f084596

Please sign in to comment.