From ae28c16dac1a328025c511d0f6c41a24ac107c00 Mon Sep 17 00:00:00 2001 From: Sahil Garg Date: Tue, 23 Jun 2026 11:26:25 +0530 Subject: [PATCH] fix: fixed the message. --- .../eid-wallet/src/routes/(app)/scan-qr/+page.svelte | 2 ++ .../src/routes/(app)/scan-qr/components/AuthDrawer.svelte | 8 +++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/infrastructure/eid-wallet/src/routes/(app)/scan-qr/+page.svelte b/infrastructure/eid-wallet/src/routes/(app)/scan-qr/+page.svelte index ff758fa73..0467e5d4d 100644 --- a/infrastructure/eid-wallet/src/routes/(app)/scan-qr/+page.svelte +++ b/infrastructure/eid-wallet/src/routes/(app)/scan-qr/+page.svelte @@ -25,6 +25,7 @@ const { scannedData, loading, redirect, + isFromScan, signingData, isSigningRequest, showSigningSuccess, @@ -199,6 +200,7 @@ function handleSocialBindingOpenChange(value: boolean) { platform={$platform} hostname={$hostname} scannedContent={$scannedData?.content} + isFromScan={$isFromScan} isSigningRequest={$isSigningRequest} authError={$authError} authLoading={$authLoading} diff --git a/infrastructure/eid-wallet/src/routes/(app)/scan-qr/components/AuthDrawer.svelte b/infrastructure/eid-wallet/src/routes/(app)/scan-qr/components/AuthDrawer.svelte index c72458efb..337cdfb1f 100644 --- a/infrastructure/eid-wallet/src/routes/(app)/scan-qr/components/AuthDrawer.svelte +++ b/infrastructure/eid-wallet/src/routes/(app)/scan-qr/components/AuthDrawer.svelte @@ -10,6 +10,7 @@ interface IAuthDrawerProps { platform: string | null | undefined; hostname: string | null | undefined; scannedContent: string | undefined; + isFromScan: boolean; isSigningRequest: boolean; authError: string | null | undefined; authLoading: boolean | undefined; @@ -23,6 +24,7 @@ const { platform, hostname, scannedContent, + isFromScan, isSigningRequest, authError, authLoading, @@ -77,7 +79,11 @@ $effect(() => {

- You have scanned the
login QR code + {#if isFromScan} + You have scanned the
login QR code + {:else} + You have a pending
login request + {/if}