fix(mobile): note title not working

This commit is contained in:
Elian Doran
2025-08-26 22:21:42 +03:00
parent 2f9b2f0e8f
commit 9750e25ad5
2 changed files with 4 additions and 3 deletions

View File

@@ -209,7 +209,8 @@ export function useNoteContext() {
useTriliumEvent("noteSwitchedAndActivated", ({ noteContext }) => {
setNoteContext(noteContext);
});
useTriliumEvent("noteSwitched", ({ notePath }) => {
useTriliumEvent("noteSwitched", ({ notePath, noteContext }) => {
setNoteContext(noteContext);
setNotePath(notePath);
});
useTriliumEvent("frocaReloaded", () => {