mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
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:
parent
f33b1001a7
commit
c23788ab79
6 changed files with 5 additions and 264 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue