diff --git a/app/src/main/java/app/revanced/integrations/youtube/patches/ChangeShortsRepeatPatch.java b/app/src/main/java/app/revanced/integrations/youtube/patches/ChangeShortsRepeatPatch.java index 13215d4351..b4306587e3 100644 --- a/app/src/main/java/app/revanced/integrations/youtube/patches/ChangeShortsRepeatPatch.java +++ b/app/src/main/java/app/revanced/integrations/youtube/patches/ChangeShortsRepeatPatch.java @@ -109,15 +109,12 @@ public static Enum changeShortsRepeatBehavior(Enum original) { return original; } - if (behavior.ytEnumValue == original) { - Logger.printDebug(() -> "Behavior setting is same as original. " - + "Using original: " + original.name()); - return original; - } - if (behavior.ytEnumValue != null) { - Logger.printDebug(() -> "Changing Shorts repeat behavior from: " - + original.name() + " to: " + behavior.name()); + Logger.printDebug(() -> behavior.ytEnumValue == original + ? "Changing Shorts repeat behavior from: " + original.name() + " to: " + behavior.name() + : "Behavior setting is same as original. Using original: " + original.name() + ); + return behavior.ytEnumValue; } } catch (Exception ex) {