mirror of
https://github.com/revanced/revanced-patches
synced 2025-01-24 03:57:33 +01:00
42 lines
1.3 KiB
Kotlin
42 lines
1.3 KiB
Kotlin
package app.revanced.patches
|
|
|
|
import app.revanced.patcher.patch.Patch
|
|
import app.revanced.patches.music.audio.EnableAudioOnlyPatch
|
|
import app.revanced.patches.music.layout.RemoveUpgradeTabPatch
|
|
import app.revanced.patches.music.layout.RemoveTastebuilderPatch
|
|
import app.revanced.patches.music.premium.BackgroundPlayPatch
|
|
import app.revanced.patches.youtube.ad.HomeAdsPatch
|
|
import app.revanced.patches.youtube.ad.HomePromoPatch
|
|
import app.revanced.patches.youtube.ad.VideoAdsPatch
|
|
import app.revanced.patches.youtube.interaction.EnableSeekbarTappingPatch
|
|
import app.revanced.patches.youtube.layout.*
|
|
import app.revanced.patches.youtube.misc.IntegrationsPatch
|
|
|
|
/**
|
|
* Index contains all the patches.
|
|
*/
|
|
@Suppress("Unused")
|
|
object Index {
|
|
/**
|
|
* Array of patches.
|
|
* New patches should be added to the array.
|
|
*/
|
|
val patches: List<() -> Patch> = listOf(
|
|
::IntegrationsPatch,
|
|
::HomeAdsPatch,
|
|
::VideoAdsPatch,
|
|
::HomePromoPatch,
|
|
::MinimizedPlaybackPatch,
|
|
::CreateButtonRemoverPatch,
|
|
::ShortsButtonRemoverPatch,
|
|
::HideReelsPatch,
|
|
::OldQualityLayoutPatch,
|
|
::EnableSeekbarTappingPatch,
|
|
::EnableAudioOnlyPatch,
|
|
::RemoveUpgradeTabPatch,
|
|
::RemoveTastebuilderPatch,
|
|
::BackgroundPlayPatch,
|
|
::CodecsUnlockPatch
|
|
)
|
|
}
|