From 165dd5a779a962ef4ea539d5555d1e120ce27c5e Mon Sep 17 00:00:00 2001 From: RetroSunstar <57507616+RetroSunstar@users.noreply.github.com> Date: Mon, 6 Apr 2026 14:50:14 +0100 Subject: [PATCH] Fixes Hotkeys causing native to crash immediately on start (#10180) --- src/lib/hotkeys/index.native.tsx | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/lib/hotkeys/index.native.tsx diff --git a/src/lib/hotkeys/index.native.tsx b/src/lib/hotkeys/index.native.tsx new file mode 100644 index 0000000000..0bfce1975c --- /dev/null +++ b/src/lib/hotkeys/index.native.tsx @@ -0,0 +1,12 @@ +import React from 'react' + +export function Provider({children}: React.PropsWithChildren) { + return <>{children} +} + +export function useHotkeysContext() { + return { + enableScope: () => {}, + disableScope: () => {}, + } +}