feat(youtube/hide-autoplay-button): do not disable autoplay button when hidden

Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
This commit is contained in:
oSumAtrIX 2023-02-26 22:38:08 +01:00
parent 8a8924ab09
commit 519c2bd511
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4

View File

@ -3,8 +3,7 @@ package app.revanced.integrations.patches;
import app.revanced.integrations.settings.SettingsEnum;
public class HideAutoplayButtonPatch {
public static boolean isButtonShown() {
return SettingsEnum.HIDE_AUTOPLAY_BUTTON.getBoolean() == false;
return !SettingsEnum.HIDE_AUTOPLAY_BUTTON.getBoolean();
}
}