feat: implement useMarkAsRead hook for improved unread state management and update notification handling

This commit is contained in:
2026-02-28 00:10:35 +11:00
parent c890cce37a
commit 29c409fad8
16 changed files with 299 additions and 113 deletions

View File

@@ -60,8 +60,8 @@ async function checkForUpdates() {
return;
}
// Only run in Tauri context
if (!isTauri()) {
// Only run in Tauri context (not Electron)
if (!isTauri() || isElectron()) {
console.log('Update check skipped - not running in Tauri');
return;
}