Compare commits

...

2 Commits

1 changed files with 7 additions and 1 deletions

View File

@ -54,7 +54,13 @@ class CanService(private val repository: CanRepository) {
.map {
val title: String = when (it.canUsage) {
CanUsage.DONATION -> {
"[후원] ${it.room!!.member!!.nickname}"
if (it.room != null) {
"[라이브 후원] ${it.room!!.member!!.nickname}"
} else if (it.audioContent != null) {
"[콘텐츠 후원] ${it.audioContent!!.member!!.nickname}"
} else {
"[후원]"
}
}
CanUsage.LIVE -> {