From e61b7c7cfc482a666a6560ded0218c1fbc2e3551 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Wed, 11 Mar 2026 20:58:49 +0200 Subject: [PATCH] feat(audio): add background effects --- apps/client/src/widgets/note_wrapper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/src/widgets/note_wrapper.ts b/apps/client/src/widgets/note_wrapper.ts index b3f923f2a8..ccaa5614d9 100644 --- a/apps/client/src/widgets/note_wrapper.ts +++ b/apps/client/src/widgets/note_wrapper.ts @@ -108,7 +108,7 @@ export default class NoteWrapperWidget extends FlexContainer { return true; } - if (note.type === "file" && MIME_TYPES_WITH_BACKGROUND_EFFECTS.includes(note.mime)) { + if (note.type === "file" && (MIME_TYPES_WITH_BACKGROUND_EFFECTS.includes(note.mime) || note.mime.startsWith("audio/"))) { return true; }