From e663ee1d9a8b7b494abd21f9635ac8a408cc36cf Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Thu, 20 Apr 2023 17:51:26 +0200 Subject: [PATCH] MOBILE-4290 login: Fix site help QR question logic was inverted, and classes weren't applied properly --- src/core/features/login/components/site-help/site-help.html | 2 +- src/core/features/login/components/site-help/site-help.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/features/login/components/site-help/site-help.html b/src/core/features/login/components/site-help/site-help.html index d1cea07d2..675d3809c 100644 --- a/src/core/features/login/components/site-help/site-help.html +++ b/src/core/features/login/components/site-help/site-help.html @@ -23,7 +23,7 @@

{{ question.answer.text }}

diff --git a/src/core/features/login/components/site-help/site-help.ts b/src/core/features/login/components/site-help/site-help.ts index c1bdf471c..022154141 100644 --- a/src/core/features/login/components/site-help/site-help.ts +++ b/src/core/features/login/components/site-help/site-help.ts @@ -38,7 +38,7 @@ export class CoreLoginSiteHelpComponent implements AfterViewInit, OnDestroy { constructor(protected el: ElementRef) { const getStartedTitle = Translate.instant('core.login.faqsetupsitelinktitle'); - const canScanQR = !CoreUtils.canScanQR(); + const canScanQR = CoreUtils.canScanQR(); const urlImageHtml = CoreLoginHelperProvider.FAQ_URL_IMAGE_HTML; const qrCodeImageHtml = CoreLoginHelperProvider.FAQ_QRCODE_IMAGE_HTML; const setupLinkHtml = `${GET_STARTED_URL}`;