mirror of
https://github.com/rommapp/romm.git
synced 2026-12-02 18:18:47 +01:00
v2's EmulatorJS player reached into the frozen v1 tree for installIOSFullscreenShim. The v1 implementation hides app chrome via Vuetify selectors (.v-app-bar, .v-bottom-navigation, .v-navigation-drawer), which match nothing in v2: that UI uses no Vuetify, and the player already unmounts AppNav/BottomNav through useStageActive. The nav-hiding half was silently inert on iOS in v2. Fork the shim to src/v2/utils/playerFullscreen.ts with the nav handling dropped and the hardcoded black swapped for --r-color-canvas-bg, per the v2 zero-hex-literal policy. The v1 export is marked @deprecated rather than changed, as the v2 constitution prescribes for coexistence forks. Adds the test coverage the shim never had. Also removes src/utils/indexdb-monitor.ts, which has had no importer in either UI. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019Uo885XxwhN8wfC4oCtR48