Skip to content

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

mobile: fix editor stays open when opening notebook/tag/color link.

Ammar Ahmedfcba5f9c9131
diff --git a/apps/mobile/app/hooks/use-app-events.tsx b/apps/mobile/app/hooks/use-app-events.tsx
index b9a6d7a86..b1fde1fab 100644
--- a/apps/mobile/app/hooks/use-app-events.tsx
+++ b/apps/mobile/app/hooks/use-app-events.tsx
@@ -207,6 +207,7 @@ const onAppOpenedFromURL = async (event: {
if (id) {
const notebook = await db.notebooks.notebook(id);
if (notebook) {
+ fluidTabsRef.current?.goToPage("home");
Navigation.navigate("Notebook", {
id: notebook.id,
canGoBack: true,
@@ -223,6 +224,7 @@ const onAppOpenedFromURL = async (event: {
if (id) {
const tag = await db.tags.tag(id);
if (tag) {
+ fluidTabsRef.current?.goToPage("home");
Navigation.navigate("TaggedNotes", {
type: "tag",
id: tag.id,
@@ -240,6 +242,7 @@ const onAppOpenedFromURL = async (event: {
if (id) {
const color = await db.colors.color(id);
if (color) {
+ fluidTabsRef.current?.goToPage("home");
Navigation.navigate("ColoredNotes", {
type: "color",
id: color.id,