|
|
|
@ -338,14 +338,19 @@ open class HandHistory : RealmObject(), Deletable, RowRepresentable, Filterable, |
|
|
|
|
|
|
|
|
|
|
|
val potSize = this.potSizeForStreet(street) |
|
|
|
val potSize = this.potSizeForStreet(street) |
|
|
|
if (potSize > 0) { |
|
|
|
if (potSize > 0) { |
|
|
|
streetItems.add(context.getString(R.string.pot_size)) |
|
|
|
// streetItems.add(context.getString(R.string.pot_size)) |
|
|
|
streetItems.add(potSize.formatted) |
|
|
|
streetItems.add("(" + potSize.formatted + ")") |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
string = string.plus(streetItems.joinToString(" ")) |
|
|
|
|
|
|
|
|
|
|
|
if (this.cards.isNotEmpty()) { |
|
|
|
val streetCards = this.cardsForStreet(street) |
|
|
|
streetItems.add(this.cardsForStreet(street).formatted(context) ?: "") |
|
|
|
if (streetCards.isNotEmpty()) { |
|
|
|
|
|
|
|
string = string.addLineReturn() |
|
|
|
|
|
|
|
string = string.plus(streetCards.formatted(context) ?: "") |
|
|
|
} |
|
|
|
} |
|
|
|
string = string.plus(streetItems.joinToString(" ")) |
|
|
|
string = string.addLineReturn() |
|
|
|
|
|
|
|
string = string.plus("-----------") |
|
|
|
|
|
|
|
|
|
|
|
string = string.addLineReturn() |
|
|
|
string = string.addLineReturn() |
|
|
|
|
|
|
|
|
|
|
|
streetActions.forEach { action -> |
|
|
|
streetActions.forEach { action -> |
|
|
|
|