mirror of
https://github.com/zadam/trilium.git
synced 2025-11-16 10:15:52 +01:00
added too options new tab appearance with possibility to change theme (white, black, dark) and zoom factor
This commit is contained in:
@@ -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 ("
|
||||
|
||||
Reference in New Issue
Block a user