Skip to content

Commit 1cf1e5b

Browse files
committed
PR Fixes
1 parent 31016a7 commit 1cf1e5b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/com/philkes/notallyx/presentation/viewmodel/BaseNoteModel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ class BaseNoteModel(private val app: Application) : AndroidViewModel(app) {
627627
actionMode.close(true)
628628
viewModelScope.launch {
629629
val updatedNotes =
630-
with(Dispatchers.IO) {
630+
withContext(Dispatchers.IO) {
631631
baseNoteDao.updatePinnedToStatus(ids, pinnedToStatusBar)
632632
baseNoteDao.getByIds(ids)
633633
}

0 commit comments

Comments
 (0)