Added option to prefer HTML to plain text view.

This commit is contained in:
the-djmaze 2022-01-14 14:05:33 +01:00
parent 8343e76d5f
commit 7680372eda
41 changed files with 107 additions and 18 deletions

View file

@ -28,6 +28,7 @@ export const SettingsUserStore = new class {
self.messageReadDelay = ko.observable(5).extend({ debounce: 999 });
addObservablesTo(self, {
viewHTML: 1,
showImages: 0,
removeColors: 0,
useCheckboxesInList: 1,
@ -74,6 +75,7 @@ export const SettingsUserStore = new class {
self.messageReadDelay(pInt(SettingsGet('MessageReadDelay')));
self.autoLogout(pInt(SettingsGet('AutoLogout')));
self.viewHTML(SettingsGet('ViewHTML'));
self.showImages(SettingsGet('ShowImages'));
self.removeColors(SettingsGet('RemoveColors'));
self.useCheckboxesInList(SettingsGet('UseCheckboxesInList'));