From e5efd51c51a248b13c668c5e2d2801bb616bbd78 Mon Sep 17 00:00:00 2001 From: Mohamed Date: Thu, 16 Mar 2023 13:15:19 +0100 Subject: [PATCH] Fix: Update Risk calc button visibility (EXPOSUREAPP-14959) (#5897) ## Ticket https://jira-ibs.wbs.net.sap/browse/EXPOSUREAPP-14959 --- .../rki/coronawarnapp/tracing/ui/homecards/IncreasedRiskCard.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/Corona-Warn-App/src/main/java/de/rki/coronawarnapp/tracing/ui/homecards/IncreasedRiskCard.kt b/Corona-Warn-App/src/main/java/de/rki/coronawarnapp/tracing/ui/homecards/IncreasedRiskCard.kt index 13b1b649c5a..40a412f5e6c 100644 --- a/Corona-Warn-App/src/main/java/de/rki/coronawarnapp/tracing/ui/homecards/IncreasedRiskCard.kt +++ b/Corona-Warn-App/src/main/java/de/rki/coronawarnapp/tracing/ui/homecards/IncreasedRiskCard.kt @@ -29,6 +29,7 @@ class IncreasedRiskCard( rowContactLast.isGone = getRiskContactLast(context) == null rowContactLast.setText(getRiskContactLast(context)) rowTimeFetched.setText(getTimeFetched(context)) + updateAction.isGone = !showUpdateButton } itemView.setOnClickListener { item.onCardClick(item) } updateAction.setOnClickListener { item.onUpdateClick(item) }