chore(YouTube): Add debug text to toast text if user forgot they enabled debugging

This commit is contained in:
LisoUseInAIKyrios 2025-04-16 14:56:31 +02:00
parent 4c8bf7fbf7
commit 409f98cf65

View File

@ -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());