fix(tray): drop "Welcome back" toast on tray-icon restore

Restoring from the tray popped a "Welcome back" toast every time — noise for
a routine action. Removed it from onTrayRestore; the auto-lock reset stays.
The login-success "Welcome back, <user>" toast is unaffected.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
r-zakarya
2026-07-08 20:13:53 +01:00
parent c58424d58c
commit 2578ac0d06
-1
View File
@@ -101,7 +101,6 @@ const Bridge = (() => {
// unlocked. // unlocked.
if (state.cryptoKey && !state.locked) { if (state.cryptoKey && !state.locked) {
if (typeof resetAutoLock === 'function') resetAutoLock(); if (typeof resetAutoLock === 'function') resetAutoLock();
if (typeof toast === 'function') toast('Welcome back');
} }
}, },