Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix focus control not working

Ammar Ahmed6eb28a25d0bc
diff --git a/apps/mobile/src/screens/notes/index.tsx b/apps/mobile/src/screens/notes/index.tsx
index b82171123..9a97b6f4c 100644
--- a/apps/mobile/src/screens/notes/index.tsx
+++ b/apps/mobile/src/screens/notes/index.tsx
@@ -71,7 +71,7 @@ const NotesPage = ({
onFocus: prev => {
Navigation.routeNeedsUpdate(route.name, onRequestUpdate);
syncWithNavigation();
- if (focusControl) return !prev;
+ if (focusControl) return !prev.current;
return false;
},
onBlur: () => {