fix: show update overlay in mobile layout

Shows the animated logo while OpenCode reloads on mobile
Keeps mobile update behavior aligned with desktop and web
This commit is contained in:
Bohdan Triapitsyn
2026-06-10 15:55:54 +03:00
parent 0c25c4aecb
commit cc97710f9e
+2
View File
@@ -6,6 +6,7 @@ import { McpIcon } from '@/components/icons/McpIcon';
import { McpDropdownContent } from '@/components/mcp/McpDropdown';
import { AboutSettings } from '@/components/sections/openchamber/AboutSettings';
import { OpenCodeUpdateToast } from '@/components/update/OpenCodeUpdateToast';
import { ConfigUpdateOverlay } from '@/components/ui/ConfigUpdateOverlay';
import { ProviderLogo } from '@/components/ui/ProviderLogo';
import { ChatView } from '@/components/views/ChatView';
import { SettingsView } from '@/components/views/SettingsView';
@@ -1152,6 +1153,7 @@ export function MobileApp({ apis }: MobileAppProps) {
<OpenCodeUpdateToast />
<MobileShell />
<Toaster />
{isInitialized ? <ConfigUpdateOverlay /> : null}
</div>
</TooltipProvider>
</RuntimeAPIProvider>