This commit is contained in:
marlon-erler
2024-07-23 13:48:17 +02:00
parent 0874ed956a
commit a06e4498b9
5 changed files with 33 additions and 11 deletions
+7 -3
View File
@@ -39,12 +39,16 @@ export default class ChatViewModel {
closeSubPages = (): void => {
this.taskPageViewModel.closeBoard();
}
};
setColor = (color: Color): void => {
this.displayedColor.value = color;
this.setDisplayedColor(color);
this.chatModel.setColor(color);
}
};
setDisplayedColor = (color: Color): void => {
this.displayedColor.value = color;
};
resetColor = (): void => {
this.displayedColor.value = this.settingsPageViewModel.color.value;