mirror of
https://github.com/ReVanced/revanced-patches.git
synced 2024-11-10 01:01:56 +01:00
docs: add docs to Index
& patches
also typed the patches array
This commit is contained in:
parent
4f81a1c4f7
commit
bdd7cc45ba
1 changed files with 11 additions and 3 deletions
|
@ -1,13 +1,21 @@
|
|||
package net.revanced.patches
|
||||
|
||||
import net.revanced.patcher.patch.Patch
|
||||
import net.revanced.patches.ads.VideoAds
|
||||
import net.revanced.patches.layouts.CreateButtonRemover
|
||||
import net.revanced.patches.layouts.MinimizedPlayback
|
||||
import kotlin.reflect.KClass
|
||||
|
||||
// This object contains all the patches and should be imported when using this library
|
||||
/**
|
||||
* Index contains all the patches and should be imported when using this library.
|
||||
*/
|
||||
@Suppress("Unused")
|
||||
object Index {
|
||||
// Array of patches. New patches should be added to the array
|
||||
val patches = arrayOf(
|
||||
/**
|
||||
* Array of patches.
|
||||
* New patches should be added to the array.
|
||||
*/
|
||||
val patches: Array<KClass<out Patch>> = arrayOf(
|
||||
VideoAds::class,
|
||||
MinimizedPlayback::class,
|
||||
CreateButtonRemover::class
|
||||
|
|
Loading…
Reference in a new issue