mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-27 09:46:25 +02:00
fix: don't clear pendingText on read to survive auth remount
This commit is contained in:
parent
af2129ebb6
commit
f9a6e648cf
1 changed files with 1 additions and 3 deletions
|
|
@ -99,9 +99,7 @@ export function registerQuickAsk(): void {
|
|||
}
|
||||
|
||||
ipcMain.handle(IPC_CHANNELS.QUICK_ASK_TEXT, () => {
|
||||
const text = pendingText;
|
||||
pendingText = '';
|
||||
return text;
|
||||
return pendingText;
|
||||
});
|
||||
|
||||
ipcMain.handle(IPC_CHANNELS.REPLACE_TEXT, async (_event, text: string) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue