Skip to content

Commit 52c1364

Browse files
DouileStypox
andauthored
Use loadUrl instead of loadData
Co-authored-by: Stypox <stypox@pm.me>
1 parent cd86ed3 commit 52c1364

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/org/schabi/newpipe/error/ReCaptchaActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ private void saveCookiesAndFinish() {
163163
}
164164

165165
// Navigate to blank page (unloads youtube to prevent background playback)
166-
recaptchaBinding.reCaptchaWebView.loadData("", "text/html", null);
166+
recaptchaBinding.reCaptchaWebView.loadUrl("about:blank");
167167

168168
final Intent intent = new Intent(this, org.schabi.newpipe.MainActivity.class);
169169
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);

0 commit comments

Comments
 (0)