Fix changing the top bar to match the color theme.

This commit is contained in:
Preston 2020-03-26 22:50:02 -04:00
parent 2533161667
commit 81a1899dcf
2 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,7 @@
import electron from 'electron'
import Datastore from 'nedb'
const localDataStorage = '/db'
// TODO: Add logic for database when electron is not in use
const localDataStorage = electron.remote.app.getPath('userData')
const settingsDb = new Datastore({
filename: localDataStorage + '/settings.db',

View File

@ -1,5 +1,7 @@
import electron from 'electron'
import Datastore from 'nedb'
const localDataStorage = '/db'
// TODO: Add logic for database when electron is not in use
const localDataStorage = electron.remote.app.getPath('userData')
const subDb = new Datastore({
filename: localDataStorage + '/subscriptions.db',