{#if !largeScreen} {#if $showControls} { showControls.set(false); }} >
{#if $showCallOverlay}
{ showControls.set(false); }} />
{:else if $showOverview} { showMessage(e.detail.node.data.message); }} on:close={() => { showControls.set(false); }} /> {:else} { showControls.set(false); }} {models} bind:chatFiles bind:params /> {/if}
{/if} {:else}
{ console.log(size); if (size === 0) { showControls.set(false); } else { if (!$showControls) { showControls.set(true); } localStorage.chatControlsSize = size; } }} > {#if $showControls}
{#if $showCallOverlay}
{ showControls.set(false); }} />
{:else if $showOverview} { if (e.detail.node.data.message.favorite) { history.messages[e.detail.node.data.message.id].favorite = true; } else { history.messages[e.detail.node.data.message.id].favorite = null; } showMessage(e.detail.node.data.message); }} on:close={() => { showControls.set(false); }} /> {:else} { showControls.set(false); }} {models} bind:chatFiles bind:params /> {/if}
{/if}
{/if}