feat(config): allow audio attachments by default
This commit is contained in:
parent
3b28429a37
commit
f647d96fab
1 changed files with 5 additions and 1 deletions
|
|
@ -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},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue