From 9412bb004c704a83c539ec7fd17159bd1b2e31e7 Mon Sep 17 00:00:00 2001 From: AK <144495202+AKnassa@users.noreply.github.com> Date: Wed, 29 Apr 2026 09:52:42 -0400 Subject: [PATCH] fix(build): update gamepad nav useFullscreen import path The merge of development into this branch combined two incompatible changes: development's new GamepadNavigation files (#882) imported useFullscreen from the old 'stremio/common/useFullscreen' path, while this branch removed that file in b7f7a3d2e and moved the hook to 'stremio/common/Fullscreen'. Webpack failed to resolve the module on CI even though git auto-merged without conflict markers. Update the single stale import in useHorizontalNavGamepadNavigation.tsx to point at the new module. The new index.ts exports useFullscreen as default, so the import shape is unchanged. Verified locally with `pnpm build` (passes with only pre-existing bundle-size warnings). Co-Authored-By: Claude Opus 4.7 --- .../GamepadNavigation/useHorizontalNavGamepadNavigation.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/GamepadNavigation/useHorizontalNavGamepadNavigation.tsx b/src/services/GamepadNavigation/useHorizontalNavGamepadNavigation.tsx index 422489e3e..0d65a3fa1 100644 --- a/src/services/GamepadNavigation/useHorizontalNavGamepadNavigation.tsx +++ b/src/services/GamepadNavigation/useHorizontalNavGamepadNavigation.tsx @@ -2,7 +2,7 @@ import { useEffect } from 'react'; import { useGamepad } from '../GamepadContext'; -import useFullscreen from 'stremio/common/useFullscreen'; +import useFullscreen from 'stremio/common/Fullscreen'; const useHorizontalNavGamepadNavigation = (gamepadHandlerId: string, enableGoBack: boolean) => { const gamepad = useGamepad();