From e2543415268733618c203f743dd7eacd96f9b9ae Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Sun, 25 Jun 2023 11:14:00 +0800 Subject: [PATCH] style: change github subscribe bot icon --- client/packages/design/components/Icon/index.tsx | 1 + server/plugins/com.msgbyte.github/services/subscribe.service.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/client/packages/design/components/Icon/index.tsx b/client/packages/design/components/Icon/index.tsx index 2e6ce2a4..3c60e904 100644 --- a/client/packages/design/components/Icon/index.tsx +++ b/client/packages/design/components/Icon/index.tsx @@ -2,6 +2,7 @@ import React, { useState } from 'react'; import { Icon as Iconify, IconProps } from '@iconify/react'; const placeHolderStyle = { width: '1em', height: '1em' }; + export const Icon: React.FC> = React.memo((props) => { const [loaded, setLoaded] = useState(false); diff --git a/server/plugins/com.msgbyte.github/services/subscribe.service.ts b/server/plugins/com.msgbyte.github/services/subscribe.service.ts index 985cbef3..13e6c751 100644 --- a/server/plugins/com.msgbyte.github/services/subscribe.service.ts +++ b/server/plugins/com.msgbyte.github/services/subscribe.service.ts @@ -58,7 +58,7 @@ class GithubSubscribeService extends TcService { const botUserId = await this.broker.call('user.ensurePluginBot', { botId: 'github-bot', nickname: 'Github Bot', - avatar: 'https://api.iconify.design/entypo-social/github.svg', + avatar: '/images/avatar/github-dark.svg', }); this.logger.info('Github Bot Id:', botUserId);