Skip to content

Commit

Permalink
fix: invalid types for example options
Browse files Browse the repository at this point in the history
  • Loading branch information
Sculas committed Sep 7, 2022
1 parent fadf62f commit 79f91e0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down

0 comments on commit 79f91e0

Please sign in to comment.