From 5dc89e00e3d963d954f4a723d41c11ffe161ae3f Mon Sep 17 00:00:00 2001 From: UncleBill Date: Thu, 25 Jan 2024 20:33:44 +0800 Subject: [PATCH] fix: remove app icon from application board only (#11315) * Revert "fix: mf-6007 remove friend tech from application board (#11312)" This reverts commit 106717bbd203731cc88597c9f61a0a0f0028cb15. * fix: remove app icon from application board only --- .../FriendTech/src/SiteAdaptor/index.tsx | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/packages/plugins/FriendTech/src/SiteAdaptor/index.tsx b/packages/plugins/FriendTech/src/SiteAdaptor/index.tsx index dd31f3bf45a..c015033e89b 100644 --- a/packages/plugins/FriendTech/src/SiteAdaptor/index.tsx +++ b/packages/plugins/FriendTech/src/SiteAdaptor/index.tsx @@ -1,4 +1,7 @@ +import { Icons } from '@masknet/icons' import type { Plugin } from '@masknet/plugin-infra' +import { PluginID } from '@masknet/shared-base' +import { Trans } from 'react-i18next' import { base } from '../base.js' import { FriendTechInjection } from './FriendTechInjection.js' import { FriendTechNameWidget } from './FriendTechNameWidget.js' @@ -8,6 +11,21 @@ const site: Plugin.SiteAdaptor.Definition = { GlobalInjection() { return }, + ApplicationEntries: [ + (() => { + const icon = + const name = + const iconFilterColor = 'rgba(1, 186, 250, 0.20)' + return { + ApplicationEntryID: base.ID, + icon, + category: 'dapp', + description: , + name, + iconFilterColor, + } + })(), + ], NameWidget: { ID: `${base.ID}_name_widget`, priority: 2,