client/apps/web/src/routes/settings/chat.tsx
Alois 87e4a158e3
All checks were successful
/ build-web (push) Successful in 1m31s
/ build-desktop (linux) (push) Successful in 7m46s
/ build-mobile (push) Successful in 17m42s
/ release (push) Successful in 34s
(feat): add gif picker & media saving
2026-06-14 15:25:24 +02:00

35 lines
1,001 B
TypeScript

import { List, Switch } from "@/features/settings/components";
import { Kbd } from "@tensamin/ui";
export default function Page() {
return (
<div className="flex flex-col gap-2">
<Switch
label={
<p>
Change <Kbd>Enter</Kbd> behavior to <Kbd>Shift</Kbd> +{" "}
<Kbd>Enter</Kbd>
</p>
}
id="settings.reverse_enter_behavior"
/>
<Switch
label="Enable read confirmations"
id="settings.read_confirmations"
/>
<Switch
label="Enable receive confirmations"
id="settings.receive_confirmations"
/>
<Switch
label="Sidebar message preview"
id="settings.show_start_of_last_message_in_sidebar"
/>
<p className="text-destructive pt-6">
Trusted embed domains can get your IP-Address! Only add domains if you
really trust them!
</p>
<List label="Trusted embed domains" id="chat_trusted_domains" />
</div>
);
}