added too options new tab appearance with possibility to change theme (white, black, dark) and zoom factor

This commit is contained in:
azivner
2018-06-08 23:18:53 -04:00
parent c39d0be8cd
commit 89a5cab98f
9 changed files with 105 additions and 5 deletions

View File

@@ -5,7 +5,7 @@ const optionService = require('../../services/options');
const log = require('../../services/log');
// options allowed to be updated directly in options dialog
const ALLOWED_OPTIONS = ['protectedSessionTimeout', 'noteRevisionSnapshotTimeInterval', 'zoomFactor'];
const ALLOWED_OPTIONS = ['protectedSessionTimeout', 'noteRevisionSnapshotTimeInterval', 'zoomFactor', 'theme'];
async function getOptions() {
const options = await sql.getMap("SELECT name, value FROM options WHERE name IN ("