From d95260152857c5f540ca94775c5f3f04ff067c30 Mon Sep 17 00:00:00 2001 From: Thomas Ricouard Date: Sun, 7 Jan 2024 09:37:18 +0100 Subject: [PATCH] Fix crash on macOS --- Packages/StatusKit/Sources/StatusKit/Editor/EditorView.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Packages/StatusKit/Sources/StatusKit/Editor/EditorView.swift b/Packages/StatusKit/Sources/StatusKit/Editor/EditorView.swift index 37fca722..0ae2d826 100644 --- a/Packages/StatusKit/Sources/StatusKit/Editor/EditorView.swift +++ b/Packages/StatusKit/Sources/StatusKit/Editor/EditorView.swift @@ -132,6 +132,7 @@ extension StatusEditor { routerPath: RouterPath(), showActions: false)) .accessibilityLabel(status.content.asRawText) + .environment(RouterPath()) .allowsHitTesting(false) .environment(\.isStatusFocused, false) .padding(.horizontal, .layoutPadding)