Skip to content
Snippets Groups Projects
Unverified Commit 73b9fbe3 authored by Oliver Zimmerman's avatar Oliver Zimmerman Committed by GitHub
Browse files

Risk Card has "Unknown Risk" after 1.7.0 (RC2) Update (EXPOSUREAPP-3723) (#1597)


* Update RiskLevelRepository.kt

* Removed comment

Co-authored-by: default avatarharambasicluka <64483219+harambasicluka@users.noreply.github.com>
parent a59c052d
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ import kotlinx.coroutines.flow.MutableStateFlow ...@@ -7,7 +7,7 @@ import kotlinx.coroutines.flow.MutableStateFlow
object RiskLevelRepository { object RiskLevelRepository {
private val internalRisklevelScore = MutableStateFlow(RiskLevelConstants.UNKNOWN_RISK_INITIAL) private val internalRisklevelScore = MutableStateFlow(getLastSuccessfullyCalculatedScore().raw)
val riskLevelScore: Flow<Int> = internalRisklevelScore val riskLevelScore: Flow<Int> = internalRisklevelScore
private val internalRiskLevelScoreLastSuccessfulCalculated = private val internalRiskLevelScoreLastSuccessfulCalculated =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment