fix(03-04): LOCATION SETTINGS CTA on the denied card (was only on awaiting-pin instance — patch-order bug)

This commit is contained in:
araharah-executor
2026-10-23 01:19:10 +08:00
parent caeb9f9729
commit 38ce59b1ca
+5 -1
View File
@@ -100,7 +100,11 @@ async function boot(): Promise<void> {
// Cards are built once at boot (boot-time locale) and reused across re-runs. // Cards are built once at boot (boot-time locale) and reused across re-runs.
const bootCard1 = buildBootCard(locale, 1); const bootCard1 = buildBootCard(locale, 1);
const bootCard2 = buildBootCard(locale, 2); const bootCard2 = buildBootCard(locale, 2);
const deniedCard = buildDeniedCard(locale, { awaitingPin: false }); const deniedCard = buildDeniedCard(
locale,
// Debug round 2/3: Telegram-only deep-link via LocationManager.openSettings.
{ awaitingPin: false, withLocationSettings: wa?.LocationManager !== undefined },
);
const awaitingCard = buildDeniedCard( const awaitingCard = buildDeniedCard(
locale, locale,
// Debug round 2: the Telegram-only deep-link. LocationManager presence // Debug round 2: the Telegram-only deep-link. LocationManager presence