diff --git a/app/src/main/java/app/pachli/components/compose/ComposeActivity.kt b/app/src/main/java/app/pachli/components/compose/ComposeActivity.kt index f1083489a..005390b49 100644 --- a/app/src/main/java/app/pachli/components/compose/ComposeActivity.kt +++ b/app/src/main/java/app/pachli/components/compose/ComposeActivity.kt @@ -509,7 +509,7 @@ class ComposeActivity : lifecycleScope.launch { viewModel.uploadError.collect { throwable -> if (throwable is UploadServerError) { - displayTransientMessage(throwable.errorMessage) + displayTransientMessage(throwable.getErrorString(this@ComposeActivity)) } else { displayTransientMessage( getString(R.string.error_media_upload_sending_fmt, throwable.getErrorString(this@ComposeActivity)),