Skip to content

Commit 78c7e00

Browse files
authored
Fix call to incorrect java method (#2015)
1 parent d11a846 commit 78c7e00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/ui/UIWebView/UIWebViewImpl-android.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ void WebViewImpl::loadData(const Data& data,
208208
std::string_view baseURL)
209209
{
210210
std::string dataString(reinterpret_cast<char*>(data.getBytes()), static_cast<unsigned int>(data.getSize()));
211-
JniHelper::callStaticVoidMethod(className, "setJavascriptInterfaceScheme", _viewTag, dataString, MIMEType, encoding,
211+
JniHelper::callStaticVoidMethod(className, "loadData", _viewTag, dataString, MIMEType, encoding,
212212
baseURL);
213213
}
214214

0 commit comments

Comments
 (0)