Add "Automatically save draft" option

This commit is contained in:
RainLoop Team 2017-06-28 19:25:53 +03:00
parent 8da988fef2
commit 45fe0217f2
7 changed files with 40 additions and 6 deletions

View file

@ -30,6 +30,7 @@ class SettingsUserStore
this.showImages = ko.observable(false);
this.useCheckboxesInList = ko.observable(true);
this.allowDraftAutosave = ko.observable(true);
this.useThreads = ko.observable(false);
this.replySameFolder = ko.observable(false);
@ -61,6 +62,7 @@ class SettingsUserStore
this.showImages(!!Settings.settingsGet('ShowImages'));
this.useCheckboxesInList(!!Settings.settingsGet('UseCheckboxesInList'));
this.allowDraftAutosave(!!Settings.settingsGet('AllowDraftAutosave'));
this.useThreads(!!Settings.settingsGet('UseThreads'));
this.replySameFolder(!!Settings.settingsGet('ReplySameFolder'));