add setting for encryption key

This commit is contained in:
marlon-erler
2024-07-20 19:18:19 +02:00
parent 11940231ca
commit 1cc7f86cc6
5 changed files with 123 additions and 7 deletions
+5
View File
@@ -61,6 +61,11 @@ export class ChatModel {
this.storeInfo();
};
setEncryptionKey = (key: string): void => {
this.info.encryptionKey = key;
this.storeInfo();
};
setColor = (color: Color): void => {
this.color = color;
this.storeColor();