refactor: Rename net.revanced
to app.revanced
BREAKING CHANGE: Package name was changed from "net.revanced" to "app.revanced"
This commit is contained in:
23
src/main/kotlin/app/revanced/patches/Index.kt
Normal file
23
src/main/kotlin/app/revanced/patches/Index.kt
Normal file
@ -0,0 +1,23 @@
|
||||
package app.revanced.patches
|
||||
|
||||
import app.revanced.patcher.patch.Patch
|
||||
import app.revanced.patches.ads.VideoAds
|
||||
import app.revanced.patches.layouts.CreateButtonRemover
|
||||
import app.revanced.patches.layouts.MinimizedPlayback
|
||||
import kotlin.reflect.KClass
|
||||
|
||||
/**
|
||||
* 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: Array<KClass<out Patch>> = arrayOf(
|
||||
VideoAds::class,
|
||||
MinimizedPlayback::class,
|
||||
CreateButtonRemover::class
|
||||
)
|
||||
}
|
Reference in New Issue
Block a user