8000 Fix: Missing bindings (EXPOSUREAPP-14868) by mtwalli · Pull Request #5871 · corona-warn-app/cwa-app-android · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Fix: Missing bindings (EXPOSUREAPP-14868) #5871

Merged
merged 3 commits into from
Feb 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ class IncreasedRiskBox(
detailsIcon.isGone = isInDetailsMode
rowTracingDays.isGone = !isInDetailsMode
updateAction.isGone = !showUpdateButton
rowTimeFetched.setText(getTimeFetched(context))

rowContactLast.setText(getRiskContactLast(context))
rowContactLast.isGone = getRiskContactLast(context) == null

rowContact.setText(getRiskContactBody(context))
rowContact.contentDescription = getRiskContactBodyDescription(context)
rowContact.isGone = getRiskContactBody(context) == null
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ class TracingDisabledBox(
) -> Unit = { item, _ ->
item.state.apply {
detailsIcon.isGone = isInDetailsMode
enableTracingAction.isGone = isInDetailsMode
enableTracingAction.isGone = !showEnableTracingButton
rowTimeFetched.setText(getTimeFetched(context))
riskCardRowSavedRisk.setText(getLastRiskState(context))
}
}

Expand Down
5334
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ class TracingFailedBox(
item.state.apply {
riskCardHeaderIcon.isGone = isInDetailsMode
riskCardButtonUpdate.isGone = !showRestartButton
riskCardButtonUpdate.isGone = isInDetailsMode
riskCardHeaderIcon.isGone = isInDetailsMode
riskCardRowTimeFetched.setText(getTimeFetched(context))
riskCardRowSavedRisk.setText(getLastRiskState(context))
}
}

Expand Down
0