forked from github/wulkanowy-mirror
Fix collapse garde subject when grade is unread (#2158)
This commit is contained in:
parent
bb7e927065
commit
8d2d7922f9
1 changed files with 2 additions and 1 deletions
|
@ -15,6 +15,7 @@ import io.github.wulkanowy.utils.changeModifier
|
|||
import kotlinx.coroutines.ExperimentalCoroutinesApi
|
||||
import kotlinx.coroutines.flow.Flow
|
||||
import kotlinx.coroutines.flow.combine
|
||||
import kotlinx.coroutines.flow.distinctUntilChanged
|
||||
import kotlinx.coroutines.flow.flatMapLatest
|
||||
import javax.inject.Inject
|
||||
|
||||
|
@ -77,7 +78,7 @@ class GradeAverageProvider @Inject constructor(
|
|||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
}.distinctUntilChanged()
|
||||
|
||||
private fun calculateCombinedAverage(
|
||||
student: Student,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue