From 799e6e7292c9ce2e5c678c0efeda1eadab2721be Mon Sep 17 00:00:00 2001 From: AutumnVN Date: Sun, 10 Dec 2023 03:37:24 +0700 Subject: [PATCH] platformIndicators: fix (#2038) --- src/plugins/platformIndicators/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/platformIndicators/index.tsx b/src/plugins/platformIndicators/index.tsx index 2972b4a46..9fae9adfa 100644 --- a/src/plugins/platformIndicators/index.tsx +++ b/src/plugins/platformIndicators/index.tsx @@ -55,13 +55,13 @@ const Icons = { }; type Platform = keyof typeof Icons; -const StatusUtils = findByPropsLazy("getStatusColor", "StatusTypes"); +const StatusUtils = findByPropsLazy("useStatusFillColor", "StatusTypes"); const PlatformIcon = ({ platform, status, small }: { platform: Platform, status: string; small: boolean; }) => { const tooltip = platform[0].toUpperCase() + platform.slice(1); const Icon = Icons[platform] ?? Icons.desktop; - return ; + return ; }; const getStatus = (id: string): Record => PresenceStore.getState()?.clientStatuses?.[id];