bos-settings/frontend/src/lib/components/Embed.svelte
Breadway dce2031743 Settings redesign: hub-based navigation, plus hardening and bug fixes
Rework the settings app around hub pages (home, network, displays, input,
apps, privacy, system) with a redesigned sidebar, shared nav state, and new
hub view components. Alongside the redesign: validate webview inputs into
root commands (users, firewall, snapshots, wifi), fix set_charge_threshold
writing the percentage via tee stdin, prevent streaming installs from
hanging on inherited stdin, add frontend type fixes, sync versions to
0.8.2, and clean up clippy/svelte-check warnings.
2026-08-31 16:04:02 +08:00

10 lines
260 B
Svelte

<script lang="ts">
import type { Snippet } from "svelte";
import { setContext } from "svelte";
import { EMBEDDED_KEY } from "$lib/embed";
let { children }: { children: Snippet } = $props();
setContext(EMBEDDED_KEY, true);
</script>
{@render children()}