mirror of
https://github.com/pierre42100/ComunicDesktop
synced 2024-11-27 06:19:22 +00:00
Can enable incognito mode
This commit is contained in:
parent
e01f521192
commit
5567ea7501
@ -44,6 +44,16 @@ module.exports.Get = function(window){
|
|||||||
click: () => {
|
click: () => {
|
||||||
window.webContents.executeJavaScript("ComunicWeb.components.darkTheme.setEnabled(!ComunicWeb.components.darkTheme.isEnabled());");
|
window.webContents.executeJavaScript("ComunicWeb.components.darkTheme.setEnabled(!ComunicWeb.components.darkTheme.isEnabled());");
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
//Incognito mode
|
||||||
|
{
|
||||||
|
label: "Enable incognito mode",
|
||||||
|
sublabel: "F6",
|
||||||
|
click: () => {
|
||||||
|
window.webContents.executeJavaScript("ComunicWeb.components.incognito.ui.confirmEnable();");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user