fix: improve emoji detection and remove unnecessary code

- Fix regex pattern inconsistency between isEmoji and extractFirstEmoji functions
- Remove redundant conditional logic in icon-input component
- Add proper validation to paste handler for consistent emoji handling
- Remove unused side-nav-item component files
- Revert unnecessary type assertions in main-window.ts

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Johannes Millan 2025-09-20 17:56:57 +02:00
parent f33b1001a7
commit c23788ab79
6 changed files with 5 additions and 264 deletions

View file

@ -334,8 +334,8 @@ const appCloseHandler = (app: App): void => {
mainWin.on('closed', () => {
// Dereference the window object
mainWin = null as any;
mainWinModule.win = undefined;
mainWin = null;
mainWinModule.win = null;
});
mainWin.webContents.on('render-process-gone', (event, detailed) => {