Skip to content
This repository was archived by the owner on Feb 17, 2020. It is now read-only.

Commit 380fc72

Browse files
authored
Merge pull request #380 from squanchy-dev/fix_notifications_name_separator
Use separator instead of prefix when joining speakers names
2 parents eeaecdc + f81a634 commit 380fc72

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/net/squanchy/notification/NotificationCreator.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ class NotificationCreator(private val context: Context) {
158158
}
159159

160160
private fun getSpeakerNamesFrom(speakers: List<Speaker>): String {
161-
val speakerNames = speakers.joinToString(prefix = ", ", transform = { it.name })
161+
val speakerNames = speakers.joinToString(separator = ", ", transform = { it.name })
162162

163163
return context.getString(R.string.event_notification_starting_by, speakerNames)
164164
}

0 commit comments

Comments
 (0)