diff --git a/app/src/main/java/app/revanced/integrations/patches/DisableResumingStartupShortsPlayerPatch.java b/app/src/main/java/app/revanced/integrations/patches/DisableResumingStartupShortsPlayerPatch.java new file mode 100644 index 00000000..0fccefea --- /dev/null +++ b/app/src/main/java/app/revanced/integrations/patches/DisableResumingStartupShortsPlayerPatch.java @@ -0,0 +1,14 @@ +package app.revanced.integrations.patches; + +import app.revanced.integrations.settings.SettingsEnum; + +/** @noinspection unused*/ +public class DisableResumingStartupShortsPlayerPatch { + + /** + * Injection point. + */ + public static boolean disableResumingStartupShortsPlayer() { + return SettingsEnum.DISABLE_RESUMING_SHORTS_PLAYER.getBoolean(); + } +} diff --git a/app/src/main/java/app/revanced/integrations/patches/DisableStartupShortsPlayerPatch.java b/app/src/main/java/app/revanced/integrations/patches/DisableStartupShortsPlayerPatch.java deleted file mode 100644 index aa8c4cf3..00000000 --- a/app/src/main/java/app/revanced/integrations/patches/DisableStartupShortsPlayerPatch.java +++ /dev/null @@ -1,10 +0,0 @@ -package app.revanced.integrations.patches; - -import app.revanced.integrations.settings.SettingsEnum; - -public class DisableStartupShortsPlayerPatch { - //Used by app.revanced.patches.youtube.layout.startupshortsreset.patch.DisableShortsOnStartupPatch - public static boolean disableStartupShortsPlayer() { - return SettingsEnum.DISABLE_RESUMING_SHORTS_PLAYER.getBoolean(); - } -}