Refactoring
This commit is contained in:
@@ -62,7 +62,7 @@ const unmountAllDrives = () => {
|
||||
mountedData = {};
|
||||
};
|
||||
|
||||
const addListeners = (ipcMain, setTrayImage, standardIPCReply) => {
|
||||
const addListeners = (ipcMain, {setTrayImage, standardIPCReply}) => {
|
||||
ipcMain.on(Constants.IPC_Check_Mount_Location + '_sync', (event, data) => {
|
||||
let response = {
|
||||
Success: true,
|
||||
|
||||
Reference in New Issue
Block a user