import type * as React from "react"; import { AppHuddleBar } from "@/app/AppHuddleBar"; import * as BuzzTheme from "@/app/BuzzThemeSurfaces"; import { HuddleProvider } from "@/features/huddle"; import { RemindMeLaterProvider } from "@/features/reminders/ui/RemindMeLaterProvider"; import { cn } from "@/shared/lib/cn"; type AppHuddleShellProps = { children: React.ReactNode; currentPubkey?: string; isCompanionOpen: boolean; isDrawerOpen: boolean; isRoom: boolean; onCompanionOpen: () => void; onHuddleStartPendingChange: (pending: boolean) => void; onHuddleStarted: (ephemeralChannelId: string) => void | Promise; onShowHuddleInMainApp: (ephemeralChannelId: string) => void; onViewHuddleChannel: (ephemeralChannelId: string) => void; onVisibilityChange: (visible: boolean) => void; }; export function AppHuddleShell({ children, currentPubkey, isCompanionOpen, isDrawerOpen, isRoom, onCompanionOpen, onHuddleStartPendingChange, onHuddleStarted, onShowHuddleInMainApp, onViewHuddleChannel, onVisibilityChange, }: AppHuddleShellProps) { return (
{children}
{isRoom || !isCompanionOpen ? (
) : null}
); }