Skip to content
Snippets Groups Projects
Commit c590c846 authored by chilja's avatar chilja
Browse files

replace static access

parent 4086386e
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,8 @@ class TestRiskLevelCalculationFragmentCWAViewModel @AssistedInject constructor(
private val keyCacheRepository: KeyCacheRepository,
private val appConfigProvider: AppConfigProvider,
tracingCardStateProvider: TracingCardStateProvider,
private val exposureResultStore: ExposureResultStore
private val exposureResultStore: ExposureResultStore,
private val submissionRepository: SubmissionRepository
) : CWAViewModel(
dispatcherProvider = dispatcherProvider
) {
......@@ -64,7 +65,7 @@ class TestRiskLevelCalculationFragmentCWAViewModel @AssistedInject constructor(
val riskLevelResetEvent = SingleLiveEvent<Unit>()
val showRiskStatusCard = SubmissionRepository.deviceUIStateFlow.map {
val showRiskStatusCard = submissionRepository.deviceUIStateFlow.map {
it.withSuccess(false) { true }
}.asLiveData(dispatcherProvider.Default)
......
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