mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-05-12 00:50:39 +00:00
1. Player.js — Added optional chaining (gamepad?.on/gamepad?.off) to prevent null crash
2. GamepadProvider.tsx — Toast messages now use t('GAMEPAD_CONNECTED') / t('GAMEPAD_DISCONNECTED') via i18next, added keys to en-US.json
3. useVerticalNavGamepadNavigation.tsx — Fixed event.nativeEvent?.spatialNavigationPrevented → event.spatialNavigationPrevented (native DOM events don't have nativeEvent)
4. GamepadProvider.tsx — Changed connectedGamepads from useState to useRef to avoid rAF effect restart cycle, removed it from effect deps, simplified the enabled guard
|
||
|---|---|---|
| .. | ||
| Addons | ||
| Board | ||
| Calendar | ||
| Discover | ||
| Intro | ||
| Library | ||
| MetaDetails | ||
| NotFound | ||
| Player | ||
| Search | ||
| Settings | ||
| index.js | ||