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

Commit bc3936c

Browse files
committed
Use the comma as separator, not as prefix, for notifications
1 parent efc9c00 commit bc3936c

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
@@ -160,7 +160,7 @@ class NotificationCreator(private val context: Context) {
160160
}
161161

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

165165
return context.getString(R.string.event_notification_starting_by, speakerNames)
166166
}

0 commit comments

Comments
 (0)