1
mirror of https://github.com/revanced/revanced-cli synced 2024-12-10 20:03:55 +01:00

fix: Make patches selectable by using a mutable collection for the selection option

This commit is contained in:
oSumAtrIX 2024-09-05 23:08:18 +04:00
parent 3300e6b433
commit 751fa1d889
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4

View File

@ -30,7 +30,7 @@ internal object PatchCommand : Runnable {
private lateinit var spec: CommandSpec
@ArgGroup(multiplicity = "0..*")
private var selection = emptySet<Selection>()
private var selection = mutableSetOf<Selection>()
internal class Selection {
@ArgGroup(exclusive = false, multiplicity = "1")