We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31016a7 commit 1cf1e5bCopy full SHA for 1cf1e5b
1 file changed
app/src/main/java/com/philkes/notallyx/presentation/viewmodel/BaseNoteModel.kt
@@ -627,7 +627,7 @@ class BaseNoteModel(private val app: Application) : AndroidViewModel(app) {
627
actionMode.close(true)
628
viewModelScope.launch {
629
val updatedNotes =
630
- with(Dispatchers.IO) {
+ withContext(Dispatchers.IO) {
631
baseNoteDao.updatePinnedToStatus(ids, pinnedToStatusBar)
632
baseNoteDao.getByIds(ids)
633
}
0 commit comments