add encryption

This commit is contained in:
marlon-erler
2024-07-08 00:39:22 +02:00
parent cb2b407d30
commit 38cfd6160e
10 changed files with 303 additions and 31 deletions
+12 -1
View File
@@ -2,12 +2,23 @@ import * as React from "bloatless-react";
import { MessageComposer } from "../Views/messageComposer";
import { ThreadView } from "../Views/threadView";
import { clearMessageHistory } from "../model";
import { translation } from "../translations";
export function MessageTab() {
return (
<article id="message-tab">
<header>{translation.messages}</header>
<header>
{translation.messages}
<span>
<button
aria-label={translation.clearHistory}
on:click={clearMessageHistory}
>
<span class="icon">delete_sweep</span>
</button>
</span>
</header>
{ThreadView()}
<footer>{MessageComposer()}</footer>
</article>