mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-04-09 20:39:24 +02:00
If compression fails, tries to upload with the original file
This commit is contained in:
parent
9ef02d63a0
commit
e08bf3eb97
@ -58,7 +58,8 @@ class MediaCompressor {
|
||||
}
|
||||
|
||||
override fun onFailure(index: Int, failureMessage: String) {
|
||||
onError(failureMessage)
|
||||
// keeps going with original video
|
||||
onReady(uri, contentType, null)
|
||||
}
|
||||
|
||||
override fun onCancelled(index: Int) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user