mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2025-06-12 21:50:47 +02:00
[Notifications/LessonChange] Fix lesson change notifications text.
This commit is contained in:
@ -96,9 +96,9 @@ class LessonFull(profileId: Int, id: Long) : Lesson(profileId, id) {
|
||||
}
|
||||
|
||||
return when (second) {
|
||||
null -> first ?: ""
|
||||
null -> first.orEmpty()
|
||||
first -> second
|
||||
else -> "$first -> $second"
|
||||
else -> if (first != null) "$first -> $second" else second.orEmpty()
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user