Makes sure deletions happen in the background thread.
This commit is contained in:
@@ -576,7 +576,7 @@ open class NewPostViewModel : ViewModel() {
|
||||
}
|
||||
|
||||
fun sendDraft(relayList: List<RelaySetupInfo>) {
|
||||
viewModelScope.launch {
|
||||
viewModelScope.launch(Dispatchers.IO) {
|
||||
sendDraftSync(relayList)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user