Remember revealed archetype on future Wrapstodon visits (#37219)

This commit is contained in:
diondiondion authored and GitHub committed 2025-12-12 11:03:00 +00:00
1 parent 8748f0812d
commit b72b507584
3 files changed
+15 -3

No files matched your search

@@ -139,8 +139,8 @@ const persistVolume = (volume: number, muted: boolean) => {
};
const restoreVolume = (video: HTMLVideoElement) => {
const volume = (playerSettings.get('volume') as number | undefined) ?? 0.5;
const muted = (playerSettings.get('muted') as boolean | undefined) ?? false;
const volume = playerSettings.get('volume') ?? 0.5;
const muted = playerSettings.get('muted') ?? false;
video.volume = volume;
video.muted = muted;