feat(audio): make player full-width

This commit is contained in:
Elian Doran 2026-03-11 19:26:17 +02:00
parent 5b3fbecc0f
commit 15ca328727
No known key found for this signature in database

View File

@ -83,7 +83,7 @@ export default class NoteWrapperWidget extends FlexContainer<BasicWidget> {
return true;
}
if (note.type === "file" && (note.mime === "application/pdf" || note.mime.startsWith("video/"))) {
if (note.type === "file" && (note.mime === "application/pdf" || note.mime.startsWith("video/") || note.mime.startsWith("audio/"))) {
return true;
}