Removed warning

hh
Laurent 6 years ago
parent 17d788deb1
commit a64881aa1c
  1. 2
      app/src/main/java/net/pokeranalytics/android/model/realm/handhistory/HandHistory.kt

@ -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))

Loading…
Cancel
Save