feat(surface): switch app shells when the viewport crosses the phone threshold
The mobile-vs-desktop surface is stamped once at boot, so a browser window narrowed past the phone threshold kept the desktop shell (and its legacy squeezed layout) until a manual reload. A viewport watcher now reloads into the other shell once the resize settles — the same mechanism the old Settings toggle used. Fixed shells (Capacitor, desktop, VS Code) and ?surface= overrides never switch. With the new mobile app reachable this way, the old/new mobile layout preference is gone: phones always get the mobile app.
This commit is contained in:
@@ -1196,9 +1196,6 @@ export const settingsDict = {
|
||||
'settings.openchamber.visual.section.chatFeatures': 'Funkcje',
|
||||
'settings.openchamber.visual.section.colorMode': 'Tryb kolorów',
|
||||
'settings.openchamber.visual.section.colorModeAndTheme': 'Tryb kolorów i motyw',
|
||||
'settings.openchamber.visual.section.mobileLayout': 'Układ mobilny',
|
||||
'settings.openchamber.visual.option.mobileLayout.default': 'Poprzedni',
|
||||
'settings.openchamber.visual.option.mobileLayout.new': 'Nowy',
|
||||
'settings.openchamber.visual.section.diffLayout': 'Układ diffa',
|
||||
'settings.openchamber.visual.section.diffLayoutAria': 'Układ diffa',
|
||||
'settings.openchamber.visual.section.localization': 'Lokalizacja',
|
||||
|
||||
Reference in New Issue
Block a user