Fix warning ('when' is exhaustive so 'else' is redundant here)

This commit is contained in:
Benoit Marty
2023-07-20 15:33:00 +02:00
parent ac61a8c916
commit 56b8969376

View File

@@ -82,7 +82,6 @@ class MediaSender @Inject constructor(
progressCallback = progressCallback
)
}
else -> Result.failure(IllegalStateException("Unexpected MediaUploadInfo format: $uploadInfo"))
}
}
}