cleanup filelist display

This commit is contained in:
2024-04-29 22:12:08 +10:00
parent c696a8bd2e
commit 5d715b096f
2 changed files with 9 additions and 10 deletions

View File

@@ -179,9 +179,9 @@ class Media extends Model
} else if(str_starts_with($this->mime_type, 'audio/')) {
return 'Audio (' . strtoupper($extension) . ')';
} else if($this->mime_type === 'application/pdf') {
return 'PDF';
return 'PDF Document';
} else if($this->mime_type === 'text/plain') {
return 'Text';
return 'Text Document';
} else if($extension === 'sb3') {
return 'Scratch 3 Project';
}