diff --git a/ReactNativeClient/lib/BaseApplication.js b/ReactNativeClient/lib/BaseApplication.js index a1e905def5..1ae4a52f00 100644 --- a/ReactNativeClient/lib/BaseApplication.js +++ b/ReactNativeClient/lib/BaseApplication.js @@ -443,6 +443,16 @@ class BaseApplication { refreshNotes = true; } + if (action.type == 'NOTE_TAG_REMOVE') { + if (newState.notesParentType === 'Tag' && newState.selectedTagId === action.item.id) { + if (newState.notes.length === newState.selectedNoteIds.length) { + await this.refreshCurrentFolder(); + refreshNotesUseSelectedNoteId = true; + } + refreshNotes = true; + } + } + if (refreshNotes) { await this.refreshNotes(newState, refreshNotesUseSelectedNoteId, refreshNotesHash); }