chore: renamed file

This commit is contained in:
Anoop M D 2023-01-22 18:35:57 +05:30
parent 43b9412ddb
commit b70bbf78b1
2 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@ const { setContentSecurityPolicy } = require('electron-util');
const menuTemplate = require('./app/menu-template');
const LastOpenedCollections = require('./app/last-opened-collections');
const registerNetworkIpc = require('./ipc/network');
const registerLocalCollectionsIpc = require('./ipc/local-collection');
const registerCollectionsIpc = require('./ipc/collection');
const Watcher = require('./app/watcher');
const lastOpenedCollections = new LastOpenedCollections();
@ -52,7 +52,7 @@ app.on('ready', async () => {
// register all ipc handlers
registerNetworkIpc(mainWindow, watcher, lastOpenedCollections);
registerLocalCollectionsIpc(mainWindow, watcher, lastOpenedCollections);
registerCollectionsIpc(mainWindow, watcher, lastOpenedCollections);
});
// Quit the app once all windows are closed

View File

@ -421,9 +421,9 @@ const registerMainEventHandlers = (mainWindow, watcher, lastOpenedCollections) =
}
const registerLocalCollectionsIpc = (mainWindow, watcher, lastOpenedCollections) => {
const registerCollectionsIpc = (mainWindow, watcher, lastOpenedCollections) => {
registerRendererEventHandlers(mainWindow, watcher, lastOpenedCollections);
registerMainEventHandlers(mainWindow, watcher, lastOpenedCollections);
}
module.exports = registerLocalCollectionsIpc;
module.exports = registerCollectionsIpc;