feat(config): allow audio attachments by default

This commit is contained in:
ayn2op 2026-10-16 16:22:13 -04:00
parent 3b28429a37
commit f647d96fab

View file

@ -216,7 +216,11 @@ type (
func defaultUI() UIConfig { func defaultUI() UIConfig {
left := TitleUIConfig{AlignmentWrapper{tview.AlignmentLeft}} left := TitleUIConfig{AlignmentWrapper{tview.AlignmentLeft}}
round := BorderSetWrapper{tview.BorderSetRound()} round := BorderSetWrapper{tview.BorderSetRound()}
attachments := AttachmentsUIConfig{ShowLinks: true, AllowedMIMETypes: MIMETypes{"image/*", "video/*"}, Preview: true} attachments := AttachmentsUIConfig{
ShowLinks: true,
AllowedMIMETypes: MIMETypes{"image/*", "video/*", "audio/*"},
Preview: true,
}
return UIConfig{ return UIConfig{
Tabs: TabsUIConfig{ Tabs: TabsUIConfig{
Alignment: AlignmentWrapper{tview.AlignmentCenter}, Alignment: AlignmentWrapper{tview.AlignmentCenter},