Rename method to sendMedia

This commit is contained in:
Benoit Marty
2026-06-30 11:35:20 +02:00
parent 5d0d8bedcd
commit f91fd4b535
@@ -246,7 +246,7 @@ class AttachmentsPreviewPresenter(
// Send the media using the session coroutine scope so it doesn't matter if this screen or the chat one are closed
sessionCoroutineScope.launch(dispatchers.io) {
sendGalleryPreProcessed(
sendMedia(
mediaUploadInfos = allMediaUploadInfos,
caption = caption,
sendActionState = sendActionState,
@@ -478,7 +478,7 @@ class AttachmentsPreviewPresenter(
sendActionState.value = SendActionState.Idle
}
private suspend fun sendGalleryPreProcessed(
private suspend fun sendMedia(
mediaUploadInfos: List<MediaUploadInfo>,
caption: String?,
sendActionState: MutableState<SendActionState>,