From e15b03bea253d8d2fd3aa99e10b14b173d9c6342 Mon Sep 17 00:00:00 2001 From: RetroSunstar <57507616+RetroSunstar@users.noreply.github.com> Date: Sun, 5 Apr 2026 22:48:47 +0100 Subject: [PATCH] Fix hotkeys causing crashes on native --- 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: () => {}, + } +}