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
+2 -3
View File
@@ -71,8 +71,7 @@ export default class SettingsPageViewModel {
this.encryptionKeyInput.callSubscriptions();
};
setColor = (newColor: Color): void => {
this.color.value = newColor;
applyColor = (newColor: Color): void => {
this.chatViewModel.setColor(newColor);
};
@@ -121,7 +120,7 @@ export default class SettingsPageViewModel {
);
this.color.subscribe((newColor) => {
this.setColor(newColor);
this.applyColor(newColor);
});
}
}