|
|
|
|
@ -259,12 +259,22 @@ class Assistant { |
|
|
|
|
this.nextStep() |
|
|
|
|
} |
|
|
|
|
Step.STAT -> { |
|
|
|
|
|
|
|
|
|
val stat = this.dataSource[position] as Stat |
|
|
|
|
if (this.stats.contains(stat)) { |
|
|
|
|
this.stats.remove(stat) |
|
|
|
|
} else { |
|
|
|
|
this.stats.add(stat) |
|
|
|
|
when (this.display.multipleStatSelection) { |
|
|
|
|
true -> { |
|
|
|
|
if (this.stats.contains(stat)) { |
|
|
|
|
this.stats.remove(stat) |
|
|
|
|
} else { |
|
|
|
|
this.stats.add(stat) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
false -> { |
|
|
|
|
this.stats.clear() |
|
|
|
|
this.stats.add(stat) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
Step.COMPARATOR -> { |
|
|
|
|
val item = this.dataSource[position] |
|
|
|
|
|