From c97a9f156656a0b26efd0cc9b4e2e1eba078a83f Mon Sep 17 00:00:00 2001 From: AK <144495202+AKnassa@users.noreply.github.com> Date: Mon, 27 Apr 2026 01:50:51 -0400 Subject: [PATCH] feat(app): mount FullscreenProvider at app root Wrap the router with so a single provider instance spans the whole app lifetime. The legacy useFullscreen hook is still intact and continues to drive consumers; the provider is in place but not yet consumed. Splitting this from the consumer cutover keeps each commit independently buildable. Made-with: Cursor --- src/App/App.js | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/src/App/App.js b/src/App/App.js index 7a1383dc4..ea226895f 100644 --- a/src/App/App.js +++ b/src/App/App.js @@ -7,6 +7,7 @@ const { Router } = require('stremio-router'); const { Core, Shell, Chromecast, DragAndDrop, KeyboardShortcuts, ServicesProvider } = require('stremio/services'); const { NotFound } = require('stremio/routes'); const { FileDropProvider, PlatformProvider, ToastProvider, TooltipProvider, ShortcutsProvider, CONSTANTS, withCoreSuspender, useShell, useBinaryState } = require('stremio/common'); +const { FullscreenProvider } = require('stremio/common/Fullscreen'); const ServicesToaster = require('./ServicesToaster'); const DeepLinkHandler = require('./DeepLinkHandler'); const SearchParamsHandler = require('./SearchParamsHandler'); @@ -214,18 +215,20 @@ const App = () => { - { - shortcutModalOpen && - } - - - - - + + { + shortcutModalOpen && + } + + + + + +