Remove ExperimentalUnsignedTypes. Not necessary anymore.

This commit is contained in:
Benoit Marty 2025-06-12 10:11:30 +02:00 committed by Benoit Marty
parent c0dd5f2184
commit 138d437725

View file

@ -32,7 +32,6 @@ class RustMediaLoader(
if (!exists()) mkdirs() // Must always ensure that this directory exists because "Clear cache" does not restart an app's process. if (!exists()) mkdirs() // Must always ensure that this directory exists because "Clear cache" does not restart an app's process.
} }
@OptIn(ExperimentalUnsignedTypes::class)
override suspend fun loadMediaContent(source: MediaSource): Result<ByteArray> = override suspend fun loadMediaContent(source: MediaSource): Result<ByteArray> =
withContext(mediaDispatcher) { withContext(mediaDispatcher) {
runCatchingExceptions { runCatchingExceptions {
@ -42,7 +41,6 @@ class RustMediaLoader(
} }
} }
@OptIn(ExperimentalUnsignedTypes::class)
override suspend fun loadMediaThumbnail( override suspend fun loadMediaThumbnail(
source: MediaSource, source: MediaSource,
width: Long, width: Long,