diff --git a/Corona-Warn-App/src/main/java/de/rki/coronawarnapp/tracing/states/TracingState.kt b/Corona-Warn-App/src/main/java/de/rki/coronawarnapp/tracing/states/TracingState.kt index f36759a4c8e..a34123bfa1c 100644 --- a/Corona-Warn-App/src/main/java/de/rki/coronawarnapp/tracing/states/TracingState.kt +++ b/Corona-Warn-App/src/main/java/de/rki/coronawarnapp/tracing/states/TracingState.kt @@ -168,6 +168,8 @@ data class LowRisk( ) } + fun isGoneOnContentLowView(context: Context) = getRiskContactLast(context) != null && !isInDetailsMode + fun getProgressColorLowRisk(context: Context) = context.getColorCompat(R.color.colorStableLight) } diff --git a/Corona-Warn-App/src/main/res/layout/tracing_content_low_view.xml b/Corona-Warn-App/src/main/res/layout/tracing_content_low_view.xml index 335b19a32b8..dd85e6ef0a3 100644 --- a/Corona-Warn-App/src/main/res/layout/tracing_content_low_view.xml +++ b/Corona-Warn-App/src/main/res/layout/tracing_content_low_view.xml @@ -74,7 +74,7 @@