fix: invalid types for example options

This commit is contained in:
Sculas 2022-09-07 23:22:34 +02:00
parent fadf62f594
commit 79f91e0e5a
No known key found for this signature in database
GPG key ID: 1530BFF96D1EEB89

View file

@ -181,12 +181,12 @@ class ExampleBytecodePatch : BytecodePatch(listOf(ExampleFingerprint)) {
"key2", true, "title", "description" // required defaults to false
)
)
private var key3: List<String> by option(
private var key3: String by option(
PatchOption.StringListOption(
"key3", "TEST", listOf("TEST", "TEST1", "TEST2"), "title", "description"
)
)
private var key4: List<Int> by option(
private var key4: Int by option(
PatchOption.IntListOption(
"key4", 1, listOf(1, 2, 3), "title", "description"
)