Skip to content

Commit 687173f

Browse files
authored
fix: icon on error recovery (#2374)
Signed-off-by: Adam Setch <adam.setch@outlook.com>
1 parent c00879a commit 687173f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/renderer/context/App.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ export const AppProvider = ({ children }: { children: ReactNode }) => {
184184
}
185185
}, Constants.REFRESH_ACCOUNTS_INTERVAL_MS);
186186

187-
// biome-ignore lint/correctness/useExhaustiveDependencies: We also want to update the tray on setting changes
187+
// biome-ignore lint/correctness/useExhaustiveDependencies: We want to update the tray on setting or notification changes
188188
useEffect(() => {
189189
setUseUnreadActiveIcon(settings.useUnreadActiveIcon);
190190
setUseAlternateIdleIcon(settings.useAlternateIdleIcon);
@@ -193,7 +193,7 @@ export const AppProvider = ({ children }: { children: ReactNode }) => {
193193
settings.showNotificationsCountInTray,
194194
settings.useUnreadActiveIcon,
195195
settings.useAlternateIdleIcon,
196-
unreadNotificationCount,
196+
notifications,
197197
]);
198198

199199
useEffect(() => {

0 commit comments

Comments
 (0)