From bb012d6a6712553c0803b3416b2d7b76ff23c0b2 Mon Sep 17 00:00:00 2001 From: Martin Raifer Date: Tue, 11 Mar 2025 11:23:19 +0100 Subject: [PATCH] only show "privacy policy updated" if user had already seen one before see #10290 --- modules/ui/splash.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ui/splash.js b/modules/ui/splash.js index e0d8f7989..f3e81ce44 100644 --- a/modules/ui/splash.js +++ b/modules/ui/splash.js @@ -17,7 +17,7 @@ export function uiSplash(context) { let updateMessage = ''; const sawPrivacyVersion = prefs('sawPrivacyVersion'); let showSplash = !prefs('sawSplash'); - if (sawPrivacyVersion !== context.privacyVersion) { + if (sawPrivacyVersion && sawPrivacyVersion !== context.privacyVersion) { updateMessage = t('splash.privacy_update'); showSplash = true; }