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.
10 lines
260 B
Svelte
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()}
|