mirror of
https://github.com/ReVanced/revanced-patcher.git
synced 2026-01-27 05:01:03 +00:00
feat: Add PatchExtensions#registerNewPatchOption function to simplify instantiation and registration of patch options
This commit is contained in:
@@ -454,7 +454,7 @@ open class PatchOption<T>(
|
||||
*
|
||||
* @see PatchOption
|
||||
*/
|
||||
private fun <P : Patch<*>, T> P.registerNewPatchOption(
|
||||
fun <P : Patch<*>, T> P.registerNewPatchOption(
|
||||
key: String,
|
||||
default: T? = null,
|
||||
values: Map<String, T?>? = null,
|
||||
|
||||
Reference in New Issue
Block a user