From c99ef4a549f33bbe8180d3be7aa0d021fb33c82a Mon Sep 17 00:00:00 2001 From: Papierkorb2292 <104673791+Papierkorb2292@users.noreply.github.com> Date: Mon, 1 Sep 2025 11:01:29 +0200 Subject: [PATCH] Make note wrapper widget aware of note context on mobile --- apps/client/src/widgets/note_wrapper.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/client/src/widgets/note_wrapper.ts b/apps/client/src/widgets/note_wrapper.ts index 2e59cfbab..13c01418a 100644 --- a/apps/client/src/widgets/note_wrapper.ts +++ b/apps/client/src/widgets/note_wrapper.ts @@ -23,7 +23,9 @@ export default class NoteWrapperWidget extends FlexContainer { this.refresh(); } - noteSwitchedAndActivatedEvent() { + noteSwitchedAndActivatedEvent({ noteContext }: EventData<"setNoteContext">) { + this.noteContext = noteContext; + this.refresh(); }