mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-03-17 21:31:57 +01:00
Makes sure deletions happen in the background thread.
This commit is contained in:
parent
534f1ed8cd
commit
8022ac525f
@ -576,7 +576,7 @@ open class NewPostViewModel : ViewModel() {
|
||||
}
|
||||
|
||||
fun sendDraft(relayList: List<RelaySetupInfo>) {
|
||||
viewModelScope.launch {
|
||||
viewModelScope.launch(Dispatchers.IO) {
|
||||
sendDraftSync(relayList)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user