@ -241,6 +241,14 @@ enum class Stat : RowRepresentable {
}
val shouldShowNumberOfSessions: Boolean
get() {
return when (this) {
NUMBER_OF_GAMES, NUMBER_OF_SETS -> false
else -> true
override val viewType: Int = RowViewType.TITLE_VALUE.ordinal
@ -58,6 +58,7 @@ class LegendView : FrameLayout {
this.counter.text = "$counter ${context.getString(R.string.sessions)}"
this.counter.isVisible = stat.shouldShowNumberOfSessions