diff --git a/src/components/InstallPrompt.tsx b/src/components/InstallPrompt.tsx index 9de5f83..4bc91f8 100644 --- a/src/components/InstallPrompt.tsx +++ b/src/components/InstallPrompt.tsx @@ -15,10 +15,10 @@ const KEY_INSTALLED = "tia_installed"; // "1" once the user ins // How many sessions before we first ask (0-indexed — show on the 3rd session) const MIN_VISITS = 3; -// How long to wait before re-asking after a "Later" tap (7 days) -const SNOOZE_MS = 7 * 24 * 60 * 60 * 1000; -// After a hard "No thanks" (second dismiss) wait 30 days -const LONG_SNOOZE_MS = 30 * 24 * 60 * 60 * 1000; +// How long to wait before re-asking after a "Later" tap (2 days) +const SNOOZE_MS = 2 * 24 * 60 * 60 * 1000; +// After a hard "No thanks" wait 7 days +const LONG_SNOOZE_MS = 7 * 24 * 60 * 60 * 1000; function isSnoozed(): boolean { const until = localStorage.getItem(KEY_SNOOZED_UNTIL);