From 5b3f05f939950625d3eb0458fbda281f336bdaa7 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Sat, 27 Apr 2024 10:21:00 +0100 Subject: [PATCH] Chore: Fixed ancient typo --- .../components/NoteBodyViewer/hooks/useOnResourceLongPress.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/app-mobile/components/NoteBodyViewer/hooks/useOnResourceLongPress.ts b/packages/app-mobile/components/NoteBodyViewer/hooks/useOnResourceLongPress.ts index 86fdaf8c0..e02e1d356 100644 --- a/packages/app-mobile/components/NoteBodyViewer/hooks/useOnResourceLongPress.ts +++ b/packages/app-mobile/components/NoteBodyViewer/hooks/useOnResourceLongPress.ts @@ -29,7 +29,7 @@ export default function useOnResourceLongPress(callbacks: Callbacks, dialogBoxRe return; } - const name = resource.title ? resource.title : resource.file_name; + const name = resource.title ? resource.title : resource.filename; const mime: string|undefined = resource.mime; const actions = [];