mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-10-29 06:31:58 +00:00
style(frontend): use the Telegram icon for the Telegram bot settings (#6848)
The sidebar and command palette showed a generic message icon for the Telegram bot settings; the Telegram mark makes the entry recognisable at a glance. The icon stays aria-hidden, since both entries carry a translated label.
This commit is contained in:
1 parent
35e09191de
commit
3af0f81181
2 files changed
+4
-4
No files matched your search
@@ -23,7 +23,6 @@ import {
|
|||||||
ImportOutlined,
|
ImportOutlined,
|
||||||
LoadingOutlined,
|
LoadingOutlined,
|
||||||
MailOutlined,
|
MailOutlined,
|
||||||
MessageOutlined,
|
|
||||||
MoonOutlined,
|
MoonOutlined,
|
||||||
PlusOutlined,
|
PlusOutlined,
|
||||||
ReloadOutlined,
|
ReloadOutlined,
|
||||||
@@ -34,6 +33,7 @@ import {
|
|||||||
SwapOutlined,
|
SwapOutlined,
|
||||||
TagsOutlined,
|
TagsOutlined,
|
||||||
TeamOutlined,
|
TeamOutlined,
|
||||||
|
TelegramFilled,
|
||||||
ToolOutlined,
|
ToolOutlined,
|
||||||
} from '@ant-design/icons';
|
} from '@ant-design/icons';
|
||||||
|
|
||||||
@@ -465,7 +465,7 @@ export default function CommandPalette() {
|
|||||||
title: `${t('menu.settings')} · ${t('pages.settings.TGBotSettings')}`,
|
title: `${t('menu.settings')} · ${t('pages.settings.TGBotSettings')}`,
|
||||||
subtitle: t('pages.settings.TGBotSettings'),
|
subtitle: t('pages.settings.TGBotSettings'),
|
||||||
keywords: ['telegram', 'tgbot', 'bot token', 'chat id', 'notifications', 'alerts'],
|
keywords: ['telegram', 'tgbot', 'bot token', 'chat id', 'notifications', 'alerts'],
|
||||||
icon: <MessageOutlined aria-hidden />,
|
icon: <TelegramFilled aria-hidden />,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/settings#email',
|
path: '/settings#email',
|
||||||
|
|||||||
@@ -23,7 +23,6 @@ import {
|
|||||||
LogoutOutlined,
|
LogoutOutlined,
|
||||||
MailOutlined,
|
MailOutlined,
|
||||||
MenuOutlined,
|
MenuOutlined,
|
||||||
MessageOutlined,
|
|
||||||
MoonFilled,
|
MoonFilled,
|
||||||
MoonOutlined,
|
MoonOutlined,
|
||||||
PushpinFilled,
|
PushpinFilled,
|
||||||
@@ -36,6 +35,7 @@ import {
|
|||||||
SwapOutlined,
|
SwapOutlined,
|
||||||
TagsOutlined,
|
TagsOutlined,
|
||||||
TeamOutlined,
|
TeamOutlined,
|
||||||
|
TelegramFilled,
|
||||||
ToolOutlined,
|
ToolOutlined,
|
||||||
} from '@ant-design/icons';
|
} from '@ant-design/icons';
|
||||||
|
|
||||||
@@ -264,7 +264,7 @@ export default function AppSidebar() {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: '/settings#telegram',
|
key: '/settings#telegram',
|
||||||
icon: <MessageOutlined aria-hidden />,
|
icon: <TelegramFilled aria-hidden />,
|
||||||
label: t('pages.settings.TGBotSettings'),
|
label: t('pages.settings.TGBotSettings'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user