From a64881aa1c5c13bfe781581a037c5a165347344e Mon Sep 17 00:00:00 2001 From: Laurent Date: Wed, 18 Mar 2020 16:14:48 +0100 Subject: [PATCH] Removed warning --- .../android/model/realm/handhistory/HandHistory.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/net/pokeranalytics/android/model/realm/handhistory/HandHistory.kt b/app/src/main/java/net/pokeranalytics/android/model/realm/handhistory/HandHistory.kt index 8ee19830..1cd19d92 100644 --- a/app/src/main/java/net/pokeranalytics/android/model/realm/handhistory/HandHistory.kt +++ b/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))