[Notifications/LessonChange] Fix lesson change notifications text.

This commit is contained in:
Kacper Ziubryniewicz 2019-12-01 21:54:59 +01:00
parent 4e88efae94
commit acf364166b
2 changed files with 3 additions and 3 deletions

View File

@ -50,7 +50,7 @@
</value>
</option>
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="JDK" project-jdk-type="JavaSDK">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">

View File

@ -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()
}
}