@ -107,6 +107,15 @@ class Calculator {
else -> false
}
val multipleStatSelection: Boolean
get() {
return when (this) {
PROGRESS -> false
else -> true
/**
@ -259,13 +259,23 @@ class Assistant {
this.nextStep()
Step.STAT -> {
val stat = this.dataSource[position] as Stat
when (this.display.multipleStatSelection) {
true -> {
if (this.stats.contains(stat)) {
this.stats.remove(stat)
} else {
this.stats.add(stat)
false -> {
this.stats.clear()
Step.COMPARATOR -> {
val item = this.dataSource[position]