feat: implement useMarkAsRead hook for improved unread state management and update notification handling
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user