mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 10:32:34 +00:00
Remove ExperimentalUnsignedTypes. Not necessary anymore.
This commit is contained in:
committed by
Benoit Marty
parent
784e751102
commit
fd78e15c21
-2
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user