feat: updated privacy statement

This commit is contained in:
SethBurkart123
2025-12-19 14:29:11 +11:00
parent fd5802f9a3
commit d0a11da15f
5 changed files with 56 additions and 214 deletions
+2 -3
View File
@@ -24,7 +24,7 @@ import loading from "@/seqta/ui/Loading";
import { SendNewsPage } from "@/seqta/utils/SendNewsPage";
import { loadHomePage } from "@/seqta/utils/Loaders/LoadHomePage";
import { OpenWhatsNewPopup } from "@/seqta/utils/Openers/OpenWhatsNewPopup";
import { checkAndShowPrivacyNotification } from "@/seqta/utils/Openers/OpenPrivacyNotification";
import { showPrivacyNotification } from "@/seqta/utils/Openers/OpenPrivacyNotification";
import { updateTimetableTimes } from "@/seqta/utils/updateTimetableTimes";
@@ -95,9 +95,8 @@ export async function finishLoad() {
}
// Check and show privacy statement notification (before what's new)
// This will check the API and compare timestamps
if (!document.getElementById("privacy-notification")) {
await checkAndShowPrivacyNotification();
await showPrivacyNotification();
}
if (settingsState.justupdated && !document.getElementById("whatsnewbk") && !document.getElementById("privacy-notification")) {