mirror of
https://github.com/revanced/revanced-integrations
synced 2024-11-24 20:07:14 +01:00
fix(YouTube - Disable resuming Shorts on startup): Adjust patch name (#516)
This commit is contained in:
parent
130f629f6b
commit
8b5d2d1871
@ -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();
|
||||||
|
}
|
||||||
|
}
|
@ -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();
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user