1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2025-11-01 07:43:00 +00:00

Use loadUrl instead of loadData

Co-authored-by: Stypox <stypox@pm.me>
This commit is contained in:
Tom
2021-07-22 10:47:47 +00:00
committed by GitHub
parent cd86ed3877
commit 52c136439e

View File

@@ -163,7 +163,7 @@ public class ReCaptchaActivity extends AppCompatActivity {
}
// Navigate to blank page (unloads youtube to prevent background playback)
recaptchaBinding.reCaptchaWebView.loadData("", "text/html", null);
recaptchaBinding.reCaptchaWebView.loadUrl("about:blank");
final Intent intent = new Intent(this, org.schabi.newpipe.MainActivity.class);
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);