From c8e1b8b8bd00f0c5473579f9e8eaf52700a089a0 Mon Sep 17 00:00:00 2001 From: reya <123083837+reyamir@users.noreply.github.com> Date: Tue, 7 May 2024 14:38:00 +0700 Subject: [PATCH] feat: add unread notification badge to dock icon --- apps/desktop2/src/components/col.tsx | 2 +- apps/desktop2/src/routes/$account.home.tsx | 31 ++++----- apps/desktop2/src/routes/$account.tsx | 75 ++++++++++------------ apps/desktop2/src/routes/store.tsx | 8 +-- src-tauri/src/commands/window.rs | 16 +++++ src-tauri/src/main.rs | 3 +- 6 files changed, 69 insertions(+), 66 deletions(-) diff --git a/apps/desktop2/src/components/col.tsx b/apps/desktop2/src/components/col.tsx index 4dbf28f2..c6e06b8a 100644 --- a/apps/desktop2/src/components/col.tsx +++ b/apps/desktop2/src/components/col.tsx @@ -78,7 +78,7 @@ export function Col({ }); } }; - }, []); + }, [webview]); return (