only show "privacy policy updated" if user had already seen one before

see #10290
This commit is contained in:
Martin Raifer
2025-03-11 11:23:19 +01:00
parent 01c63626d5
commit bb012d6a67

View File

@@ -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;
}