Skip to content
Snippets Groups Projects
Commit 143f4176 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Rename stream in IO threadpool

parent 21007f9d
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@ class StreamsModel: ScopedModel() {
fun rename(position: Int, name: String) {
val media = observableHistory.value?.get(position) ?: return
media.rename(name)
launch(Dispatchers.IO) { media.rename(name) }
updateHistory()
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment