Makes sure deletions happen in the background thread.

This commit is contained in:
Vitor Pamplona 2025-02-14 16:29:10 -05:00
parent 534f1ed8cd
commit 8022ac525f

View File

@ -576,7 +576,7 @@ open class NewPostViewModel : ViewModel() {
}
fun sendDraft(relayList: List<RelaySetupInfo>) {
viewModelScope.launch {
viewModelScope.launch(Dispatchers.IO) {
sendDraftSync(relayList)
}
}