diff --git a/CHANGELOG.md b/CHANGELOG.md index 90e4499e80..be08a5e0a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# [0.122.0-dev.2](https://github.com/ReVanced/revanced-integrations/compare/v0.122.0-dev.1...v0.122.0-dev.2) (2023-11-17) + + +### Bug Fixes + +* **YouTube - Disable resuming Shorts on startup:** Adjust patch name ([#516](https://github.com/ReVanced/revanced-integrations/issues/516)) ([8b5d2d1](https://github.com/ReVanced/revanced-integrations/commit/8b5d2d1871c19421eb39ce38a7039c86e5d8d08b)) + # [0.122.0-dev.1](https://github.com/ReVanced/revanced-integrations/compare/v0.121.1-dev.4...v0.122.0-dev.1) (2023-11-12) 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 0000000000..0fccefea6f --- /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 aa8c4cf38e..0000000000 --- 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(); - } -} diff --git a/gradle.properties b/gradle.properties index c4a9e7efd0..d65fd68e71 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ org.gradle.parallel = true org.gradle.caching = true android.useAndroidX = true -version = 0.122.0-dev.1 +version = 0.122.0-dev.2