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:
@@ -6,6 +6,7 @@ import { McpIcon } from '@/components/icons/McpIcon';
|
|||||||
import { McpDropdownContent } from '@/components/mcp/McpDropdown';
|
import { McpDropdownContent } from '@/components/mcp/McpDropdown';
|
||||||
import { AboutSettings } from '@/components/sections/openchamber/AboutSettings';
|
import { AboutSettings } from '@/components/sections/openchamber/AboutSettings';
|
||||||
import { OpenCodeUpdateToast } from '@/components/update/OpenCodeUpdateToast';
|
import { OpenCodeUpdateToast } from '@/components/update/OpenCodeUpdateToast';
|
||||||
|
import { ConfigUpdateOverlay } from '@/components/ui/ConfigUpdateOverlay';
|
||||||
import { ProviderLogo } from '@/components/ui/ProviderLogo';
|
import { ProviderLogo } from '@/components/ui/ProviderLogo';
|
||||||
import { ChatView } from '@/components/views/ChatView';
|
import { ChatView } from '@/components/views/ChatView';
|
||||||
import { SettingsView } from '@/components/views/SettingsView';
|
import { SettingsView } from '@/components/views/SettingsView';
|
||||||
@@ -1152,6 +1153,7 @@ export function MobileApp({ apis }: MobileAppProps) {
|
|||||||
<OpenCodeUpdateToast />
|
<OpenCodeUpdateToast />
|
||||||
<MobileShell />
|
<MobileShell />
|
||||||
<Toaster />
|
<Toaster />
|
||||||
|
{isInitialized ? <ConfigUpdateOverlay /> : null}
|
||||||
</div>
|
</div>
|
||||||
</TooltipProvider>
|
</TooltipProvider>
|
||||||
</RuntimeAPIProvider>
|
</RuntimeAPIProvider>
|
||||||
|
|||||||
Reference in New Issue
Block a user