mirror of
https://github.com/revanced/revanced-patches.git
synced 2025-04-29 14:14:28 +02:00
chore(YouTube): Add debug text to toast text if user forgot they enabled debugging
This commit is contained in:
parent
4c8bf7fbf7
commit
409f98cf65
@ -204,7 +204,7 @@ public class StreamingDataRequest {
|
||||
// but empty response body does.
|
||||
if (connection.getContentLength() == 0) {
|
||||
if (BaseSettings.DEBUG.get() && BaseSettings.DEBUG_TOAST_ON_ERROR.get()) {
|
||||
Utils.showToastShort("Ignoring empty spoof stream client: " + clientType);
|
||||
Utils.showToastShort("Debug: Ignoring empty spoof stream client " + clientType);
|
||||
}
|
||||
} else {
|
||||
try (InputStream inputStream = new BufferedInputStream(connection.getInputStream());
|
||||
|
Loading…
x
Reference in New Issue
Block a user