The separate runtime MOCK switch on the map screen is removed. Now the admin-only settings toggle (MOCK_API_FEATURE_ENABLED) is the single control point — turning it on activates mock mode immediately, turning it off deactivates it. - useTrainMenu: remove mockApiEnabled/setMockApiEnabled state; mockApiConfig now derives from mockApiFeatureEnabled alone - WebView: use mockApiFeatureEnabled for key prop (triggers reload) - Apps.tsx: remove MockApiToggle import and JSX usage Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
3.9 KiB
3.9 KiB