A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
mobile: fix focused route id incorrect
Ammar Ahmedfcc9915b04fc
diff --git a/apps/mobile/app/navigation/navigation-stack.tsx b/apps/mobile/app/navigation/navigation-stack.tsxindex 688e67748..a784fa7f9 100644--- a/apps/mobile/app/navigation/navigation-stack.tsx+++ b/apps/mobile/app/navigation/navigation-stack.tsx@@ -132,7 +132,9 @@ const AppNavigation = React.memo(React.useEffect(() => {useNavigationStore.getState().update(home?.name as keyof RouteParams);- useNavigationStore.getState().setFocusedRouteId(home?.params?.id || home);+ useNavigationStore+ .getState()+ .setFocusedRouteId(home?.params?.id || home?.name);}, [home]);return !home ? null : (