mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 01:19:33 +00:00
Rename method to sendMedia
This commit is contained in:
+2
-2
@@ -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
|
// 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) {
|
sessionCoroutineScope.launch(dispatchers.io) {
|
||||||
sendGalleryPreProcessed(
|
sendMedia(
|
||||||
mediaUploadInfos = allMediaUploadInfos,
|
mediaUploadInfos = allMediaUploadInfos,
|
||||||
caption = caption,
|
caption = caption,
|
||||||
sendActionState = sendActionState,
|
sendActionState = sendActionState,
|
||||||
@@ -478,7 +478,7 @@ class AttachmentsPreviewPresenter(
|
|||||||
sendActionState.value = SendActionState.Idle
|
sendActionState.value = SendActionState.Idle
|
||||||
}
|
}
|
||||||
|
|
||||||
private suspend fun sendGalleryPreProcessed(
|
private suspend fun sendMedia(
|
||||||
mediaUploadInfos: List<MediaUploadInfo>,
|
mediaUploadInfos: List<MediaUploadInfo>,
|
||||||
caption: String?,
|
caption: String?,
|
||||||
sendActionState: MutableState<SendActionState>,
|
sendActionState: MutableState<SendActionState>,
|
||||||
|
|||||||
Reference in New Issue
Block a user