Media: handle PR review remarks
This commit is contained in:
parent
c72ecc4807
commit
b2a66ddafe
6 changed files with 8 additions and 9 deletions
|
|
@ -59,7 +59,7 @@ class RustMediaLoader(
|
|||
}
|
||||
}
|
||||
|
||||
override suspend fun loadMediaFile(source: MediaSource, mimeType: String?): Result<MediaFile> =
|
||||
override suspend fun downloadMediaFile(source: MediaSource, mimeType: String?): Result<MediaFile> =
|
||||
withContext(dispatchers.io) {
|
||||
runCatching {
|
||||
source.toRustMediaSource().use { mediaSource ->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue