Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
nikclayton committed Jun 10, 2024
2 parents ded90c5 + a2fa9f6 commit 2551dc9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)),
Expand Down

0 comments on commit 2551dc9

Please sign in to comment.