From bbf863c630e00b781d85ac0718f1eea7f092a6c1 Mon Sep 17 00:00:00 2001 From: inotia00 <108592928+inotia00@users.noreply.github.com> Date: Tue, 1 Apr 2025 19:11:45 +0900 Subject: [PATCH] fix(YouTube - Description components): `Expand video descriptions` requires longer wait time --- .../extension/youtube/patches/player/PlayerPatch.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/shared/src/main/java/app/revanced/extension/youtube/patches/player/PlayerPatch.java b/extensions/shared/src/main/java/app/revanced/extension/youtube/patches/player/PlayerPatch.java index 6ee95843d..2c43c80b0 100644 --- a/extensions/shared/src/main/java/app/revanced/extension/youtube/patches/player/PlayerPatch.java +++ b/extensions/shared/src/main/java/app/revanced/extension/youtube/patches/player/PlayerPatch.java @@ -183,8 +183,8 @@ public class PlayerPatch { // The type of descriptionView can be either ViewGroup or TextView. (A/B tests) // If the type of descriptionView is TextView, longer delay is required. final long delayMillis = descriptionView instanceof TextView - ? 500 - : 100; + ? 750 + : 200; Utils.runOnMainThreadDelayed(() -> Utils.clickView(descriptionView), delayMillis); }