|
|
|
|
@ -368,7 +368,7 @@ open class HandHistory : RealmObject(), Deletable, RowRepresentable, Filterable, |
|
|
|
|
* Returns a string representation of the [actionReadRow] |
|
|
|
|
*/ |
|
|
|
|
private fun localizedAction(actionReadRow: ActionReadRow, context: Context): String { |
|
|
|
|
val formattedPositions = actionReadRow.positions.map { it.value }.joinToString(", ") |
|
|
|
|
val formattedPositions = actionReadRow.positions.joinToString(", ") { it.value } |
|
|
|
|
val actionItems = mutableListOf(formattedPositions) |
|
|
|
|
actionReadRow.action?.let { type -> |
|
|
|
|
actionItems.add(context.getString(type.resId)) |
|
|
|
|
|