From 79f91e0e5a6d99828f30aae55339ce0d897394c7 Mon Sep 17 00:00:00 2001 From: Sculas Date: Wed, 7 Sep 2022 23:22:34 +0200 Subject: [PATCH] fix: invalid types for example options --- .../revanced/patcher/usage/bytecode/ExampleBytecodePatch.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/kotlin/app/revanced/patcher/usage/bytecode/ExampleBytecodePatch.kt b/src/test/kotlin/app/revanced/patcher/usage/bytecode/ExampleBytecodePatch.kt index 466818a..384ecb6 100644 --- a/src/test/kotlin/app/revanced/patcher/usage/bytecode/ExampleBytecodePatch.kt +++ b/src/test/kotlin/app/revanced/patcher/usage/bytecode/ExampleBytecodePatch.kt @@ -181,12 +181,12 @@ class ExampleBytecodePatch : BytecodePatch(listOf(ExampleFingerprint)) { "key2", true, "title", "description" // required defaults to false ) ) - private var key3: List by option( + private var key3: String by option( PatchOption.StringListOption( "key3", "TEST", listOf("TEST", "TEST1", "TEST2"), "title", "description" ) ) - private var key4: List by option( + private var key4: Int by option( PatchOption.IntListOption( "key4", 1, listOf(1, 2, 3), "title", "description" )