feat: image full screen overlay for popoups

This commit is contained in:
2026-04-12 20:06:03 +09:30
parent 1d9b8f3747
commit 89f50f774f
5 changed files with 253 additions and 0 deletions
@@ -1,6 +1,7 @@
import stringToHTML from "../stringToHTML";
import { settingsState } from "../listeners/SettingsState";
import { openPopup } from "./PopupManager";
import { attachPopupMediaFullscreenIfPresent } from "./attachPopupMediaFullscreen";
const PRIVACY_STATEMENT_VERSION = "2025-12-19";
@@ -59,6 +60,8 @@ export function showPrivacyNotification(onDismissed?: () => void) {
</div>
`).firstChild as HTMLElement;
attachPopupMediaFullscreenIfPresent(text, "img.aboutImg");
settingsState.privacyStatementLastUpdated = "2025-12-20";
settingsState.privacyStatementShown = true;