Include mimeType in toast error

This commit is contained in:
Eric Bailey
2025-08-13 17:22:16 -05:00
committed by Samuel Newman
parent 018bd5e7d9
commit 379dfe211f
+1 -1
View File
@@ -824,7 +824,7 @@ let ComposerPost = React.memo(function ComposerPost({
if (isNative) return // web only
const [mimeType] = uri.slice('data:'.length).split(';')
if (!SUPPORTED_MIME_TYPES.includes(mimeType as SupportedMimeTypes)) {
toast.show(_(msg`Unsupported video type`), {
toast.show(_(msg`Unsupported video type: ${mimeType}`), {
type: 'error',
})
return