electron-97: refactored the code as per the ticket (points 3 & 4 covered)

This commit is contained in:
Vishwas Shashidhar
2017-08-24 16:18:32 +05:30
parent 28bd9399aa
commit 5f557247a7
20 changed files with 347 additions and 46 deletions

View File

@@ -243,6 +243,10 @@ function getTemplate(app) {
return template;
}
/**
* Sets the checkbox values for different menu items
* based on configuration
*/
function setCheckboxValues() {
getConfigField('minimizeOnClose').then(function(mClose) {
minimizeOnClose = mClose;