Skip to content

Commit

Permalink
Removing detection card during ENX migration (#990)
Browse files Browse the repository at this point in the history
* Remove detection card during enx migration
* Bumping mobile resources
  • Loading branch information
si1k committed Aug 18, 2022
1 parent 807004b commit be5db50
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion mobile_resources_commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1044389b5672dce75a18d7f61ae5bf70b5509118
49f57f21b5f7be235ede28c945285e3bf23c3290
6 changes: 3 additions & 3 deletions src/Home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ const Home: FunctionComponent = () => {
enxRegion,
} = useConfigurationContext()

const shouldEnxMigrationshow = Platform.OS === "ios" && enxRegion !== ""
const shouldEnxMigrationShow = Platform.OS === "ios" && enxRegion !== ""

const enxComponent = shouldEnxMigrationshow && (
const enxComponent = shouldEnxMigrationShow && (
<EnxMigrationInfo enxRegion={enxRegion} />
)

Expand All @@ -84,7 +84,7 @@ const Home: FunctionComponent = () => {
<Text style={style.headerText}>{t("screen_titles.home")}</Text>
<NotificationsOff />
{enxComponent}
<ExposureDetectionStatusCard />
{!shouldEnxMigrationShow && <ExposureDetectionStatusCard />}
{displayCovidData && <CovidDataCard />}
{verificationStrategy === "Simple" ? (
<SimpleVerificationFlowButton />
Expand Down

0 comments on commit be5db50

Please sign in to comment.