feat(audio): add background effects

This commit is contained in:
Elian Doran 2026-03-11 20:58:49 +02:00
parent 1c628fba4c
commit e61b7c7cfc
No known key found for this signature in database

View File

@ -108,7 +108,7 @@ export default class NoteWrapperWidget extends FlexContainer<BasicWidget> {
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;
}