Make symbol not null
This commit is contained in:
parent
b862e14133
commit
a59f0f67c6
1 changed files with 1 additions and 0 deletions
|
@ -139,6 +139,7 @@ class StudentRepository(private val api: StudentService) {
|
|||
weight = "$weightValue,00"
|
||||
weightValue = if (isGradeValid(entry)) weightValue else 0
|
||||
color = if ("0" == color) "000000" else color.toInt().toString(16).toUpperCase()
|
||||
symbol = symbol ?: ""
|
||||
}
|
||||
}.sortedByDescending { it.date }
|
||||
}?.flatten()
|
||||
|
|
Loading…
Reference in a new issue