Skip to content

Commit be5db50

Browse files
authored
Removing detection card during ENX migration (#990)
* Remove detection card during enx migration * Bumping mobile resources
1 parent 807004b commit be5db50

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

mobile_resources_commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1044389b5672dce75a18d7f61ae5bf70b5509118
1+
49f57f21b5f7be235ede28c945285e3bf23c3290

src/Home/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ const Home: FunctionComponent = () => {
6868
enxRegion,
6969
} = useConfigurationContext()
7070

71-
const shouldEnxMigrationshow = Platform.OS === "ios" && enxRegion !== ""
71+
const shouldEnxMigrationShow = Platform.OS === "ios" && enxRegion !== ""
7272

73-
const enxComponent = shouldEnxMigrationshow && (
73+
const enxComponent = shouldEnxMigrationShow && (
7474
<EnxMigrationInfo enxRegion={enxRegion} />
7575
)
7676

@@ -84,7 +84,7 @@ const Home: FunctionComponent = () => {
8484
<Text style={style.headerText}>{t("screen_titles.home")}</Text>
8585
<NotificationsOff />
8686
{enxComponent}
87-
<ExposureDetectionStatusCard />
87+
{!shouldEnxMigrationShow && <ExposureDetectionStatusCard />}
8888
{displayCovidData && <CovidDataCard />}
8989
{verificationStrategy === "Simple" ? (
9090
<SimpleVerificationFlowButton />

0 commit comments

Comments
 (0)