mirror of
https://github.com/TeamNewPipe/NewPipe.git
synced 2024-11-22 11:02:35 +01:00
Use loadUrl instead of loadData
Co-authored-by: Stypox <stypox@pm.me>
This commit is contained in:
parent
cd86ed3877
commit
52c136439e
@ -163,7 +163,7 @@ public class ReCaptchaActivity extends AppCompatActivity {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Navigate to blank page (unloads youtube to prevent background playback)
|
// 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);
|
final Intent intent = new Intent(this, org.schabi.newpipe.MainActivity.class);
|
||||||
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
|
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
|
||||||
|
Loading…
Reference in New Issue
Block a user