diff --git a/src/constants.js b/src/constants.js index ba55e79b..20aca01a 100644 --- a/src/constants.js +++ b/src/constants.js @@ -12,6 +12,7 @@ const IpcChannels = { START_POWER_SAVE_BLOCKER: 'start-power-save-blocker', CREATE_NEW_WINDOW: 'create-new-window', OPEN_IN_EXTERNAL_PLAYER: 'open-in-external-player', + NATIVE_THEME_UPDATE: 'native-theme-update', DB_SETTINGS: 'db-settings', DB_HISTORY: 'db-history', diff --git a/src/datastores/handlers/base.js b/src/datastores/handlers/base.js index 90b9d183..12500525 100644 --- a/src/datastores/handlers/base.js +++ b/src/datastores/handlers/base.js @@ -27,6 +27,10 @@ class Settings { return db.settings.findOne({ _id: 'bounds' }) } + static _findTheme() { + return db.settings.findOne({ _id: 'baseTheme' }) + } + static _updateBounds(value) { return db.settings.update({ _id: 'bounds' }, { _id: 'bounds', value }, { upsert: true }) } diff --git a/src/index.ejs b/src/index.ejs index 11d81f7d..f0dad7e0 100644 --- a/src/index.ejs +++ b/src/index.ejs @@ -16,7 +16,7 @@ <% } %> - +