2022-04-14 10:39:15 +02:00
|
|
|
package app.revanced.patches
|
2022-04-13 21:47:09 +02:00
|
|
|
|
|
|
|
import app.revanced.patcher.patch.Patch
|
2022-04-16 23:46:40 +03:00
|
|
|
import app.revanced.patches.ad.HomeAdsPatch
|
2022-04-18 18:00:10 +02:00
|
|
|
import app.revanced.patches.ad.HomePromoPatch
|
2022-04-13 21:47:09 +02:00
|
|
|
import app.revanced.patches.ad.VideoAdsPatch
|
|
|
|
import app.revanced.patches.interaction.EnableSeekbarTappingPatch
|
2022-04-18 18:00:10 +02:00
|
|
|
import app.revanced.patches.layout.CreateButtonRemoverPatch
|
|
|
|
import app.revanced.patches.layout.HideReelsPatch
|
|
|
|
import app.revanced.patches.layout.MinimizedPlaybackPatch
|
|
|
|
import app.revanced.patches.layout.OldQualityLayoutPatch
|
2022-04-13 21:47:09 +02:00
|
|
|
import app.revanced.patches.misc.IntegrationsPatch
|
|
|
|
|
|
|
|
/**
|
2022-04-14 10:17:53 +02:00
|
|
|
* Index contains all the patches.
|
2022-04-13 21:47:09 +02:00
|
|
|
*/
|
|
|
|
@Suppress("Unused")
|
|
|
|
object Index {
|
|
|
|
/**
|
|
|
|
* Array of patches.
|
|
|
|
* New patches should be added to the array.
|
|
|
|
*/
|
2022-04-14 11:58:25 +02:00
|
|
|
val patches: List<() -> Patch> = listOf(
|
2022-04-13 21:47:09 +02:00
|
|
|
::IntegrationsPatch,
|
2022-04-16 23:46:40 +03:00
|
|
|
::HomeAdsPatch,
|
2022-04-13 21:47:09 +02:00
|
|
|
::VideoAdsPatch,
|
2022-04-18 18:00:10 +02:00
|
|
|
::HomePromoPatch,
|
2022-04-13 21:47:09 +02:00
|
|
|
::MinimizedPlaybackPatch,
|
|
|
|
::CreateButtonRemoverPatch,
|
|
|
|
::HideReelsPatch,
|
|
|
|
::OldQualityLayoutPatch,
|
|
|
|
::EnableSeekbarTappingPatch
|
|
|
|
)
|
|
|
|
}
|