From 9810bffddca26d0c7924b0ba80e71a9d7e6b7dd6 Mon Sep 17 00:00:00 2001 From: mrjo118 Date: Tue, 28 Oct 2025 10:28:59 +0000 Subject: [PATCH] Mobile: Fixes #11468: Ensure note list is re-ordered after updating a note opened via a search (#13506) --- packages/app-mobile/utils/appReducer.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/app-mobile/utils/appReducer.ts b/packages/app-mobile/utils/appReducer.ts index 317af03b5b..afd144f2c1 100644 --- a/packages/app-mobile/utils/appReducer.ts +++ b/packages/app-mobile/utils/appReducer.ts @@ -67,6 +67,11 @@ const appReducer = (state = appDefaultState, action: any) => { newState.selectedNoteHash = ''; + if (currentRoute.routeName === 'Search' && action.routeName === 'Notes') { + // Force a reload of the note list + newState.notesSource = ''; + } + if (action.routeName === 'Search') { newState.notesParentType = 'Search'; }