selecting conversation and expanding the window nicely

This commit is contained in:
talksik
2022-03-19 20:49:34 -04:00
parent 2a0f74435b
commit b656e9d3a9
6 changed files with 50 additions and 5 deletions
+6
View File
@@ -19,6 +19,12 @@ const electronAPI = {
// Other method you want to add like has(), reset(), etc.
},
window: {
resizeWindow(newDimensions: { width: number; height: number }) {
ipcRenderer.send(Channels.RESIZE_WINDOW, newDimensions);
},
},
on(channel: Channels, func: any) {
const validChannels = ["ipc-example"];
// if (validChannels.includes(channel)) {