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

Commit a8f0e4d

Browse files
authored
Merge pull request #522 from squanchy-dev/fix_notifications_speakers
Fix notifications speakers
2 parents 9bbe9b1 + ea03356 commit a8f0e4d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

app/src/debug/java/net/squanchy/support/debug/DebugActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ class DebugActivity : AppCompatActivity() {
110110
"UI",
111111
Option(generateColor()),
112112
Option(generateColor()),
113-
Option("gs://droidcon-italy-2017.appspot.com/tracks/0.webp")
113+
Option.empty()
114114
)
115115

116116
private fun generateColor(): String {

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)