fix(web): isFullScreen initial value check is incorrect (#27520)

This commit is contained in:
Min Idzelis 2026-04-05 17:19:58 -04:00 committed by GitHub
parent 6fcf651d76
commit f29c06799f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -338,7 +338,7 @@
onAction?.(action);
};
let isFullScreen = $derived(fullscreenElement !== null);
let isFullScreen = $derived(!!fullscreenElement);
$effect(() => {
if (album && !album.isActivityEnabled && activityManager.commentCount === 0) {