Skip to content

Commit

Permalink
Update settings.js
Browse files Browse the repository at this point in the history
Removed "Persist Theme" setting from global settings
  • Loading branch information
amanharwara committed Feb 20, 2019
1 parent e2776de commit 3e1559b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/windows/settings/js/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ document.querySelectorAll('.setting-button').forEach(function(e) {

// Save Settings
document.querySelector('#save-button').addEventListener('click', () => {
settings.set('persistTheme.value', document.querySelector('#persistThemeButton').innerText == "Enabled" ? true : false);

settings.set('trayIcon.value', document.querySelector('#trayIconButton').innerText == "Enabled" ? true : false);

settings.set('showExitPrompt.value', document.querySelector('#showExitPromptButton').innerText == "Enabled" ? true : false);
Expand Down

0 comments on commit 3e1559b

Please sign in to comment.