Skip to content

Commit

Permalink
Fix call to incorrect java method (#2015)
Browse files Browse the repository at this point in the history
  • Loading branch information
rh101 committed Jul 4, 2024
1 parent d11a846 commit 78c7e00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/ui/UIWebView/UIWebViewImpl-android.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ void WebViewImpl::loadData(const Data& data,
std::string_view baseURL)
{
std::string dataString(reinterpret_cast<char*>(data.getBytes()), static_cast<unsigned int>(data.getSize()));
JniHelper::callStaticVoidMethod(className, "setJavascriptInterfaceScheme", _viewTag, dataString, MIMEType, encoding,
JniHelper::callStaticVoidMethod(className, "loadData", _viewTag, dataString, MIMEType, encoding,
baseURL);
}

Expand Down

0 comments on commit 78c7e00

Please sign in to comment.