forked from github/szkolny
[Notifications/LessonChange] Fix lesson change notifications text.
This commit is contained in:
parent
4e88efae94
commit
acf364166b
@ -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">
|
||||
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user