Skip to content

Commit e27ab23

Browse files
author
LisoUseInAIKyrios
committed
chore(YouTube): Add debug text to toast text if user forgot they enabled debugging
1 parent ce42604 commit e27ab23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/shared/library/src/main/java/app/revanced/extension/shared/spoof/requests/StreamingDataRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ private static ByteBuffer fetch(String videoId, Map<String, String> playerHeader
204204
// but empty response body does.
205205
if (connection.getContentLength() == 0) {
206206
if (BaseSettings.DEBUG.get() && BaseSettings.DEBUG_TOAST_ON_ERROR.get()) {
207-
Utils.showToastShort("Ignoring empty spoof stream client: " + clientType);
207+
Utils.showToastShort("Debug: Ignoring empty spoof stream client " + clientType);
208208
}
209209
} else {
210210
try (InputStream inputStream = new BufferedInputStream(connection.getInputStream());

0 commit comments

Comments
 (0)