mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-10-24 14:55:02 +03: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:
@@ -23,7 +23,6 @@ import {
|
||||
ImportOutlined,
|
||||
LoadingOutlined,
|
||||
MailOutlined,
|
||||
MessageOutlined,
|
||||
MoonOutlined,
|
||||
PlusOutlined,
|
||||
ReloadOutlined,
|
||||
@@ -34,6 +33,7 @@ import {
|
||||
SwapOutlined,
|
||||
TagsOutlined,
|
||||
TeamOutlined,
|
||||
TelegramFilled,
|
||||
ToolOutlined,
|
||||
} from '@ant-design/icons';
|
||||
|
||||
@@ -465,7 +465,7 @@ export default function CommandPalette() {
|
||||
title: `${t('menu.settings')} · ${t('pages.settings.TGBotSettings')}`,
|
||||
subtitle: t('pages.settings.TGBotSettings'),
|
||||
keywords: ['telegram', 'tgbot', 'bot token', 'chat id', 'notifications', 'alerts'],
|
||||
icon: <MessageOutlined aria-hidden />,
|
||||
icon: <TelegramFilled aria-hidden />,
|
||||
},
|
||||
{
|
||||
path: '/settings#email',
|
||||
|
||||
@@ -23,7 +23,6 @@ import {
|
||||
LogoutOutlined,
|
||||
MailOutlined,
|
||||
MenuOutlined,
|
||||
MessageOutlined,
|
||||
MoonFilled,
|
||||
MoonOutlined,
|
||||
PushpinFilled,
|
||||
@@ -36,6 +35,7 @@ import {
|
||||
SwapOutlined,
|
||||
TagsOutlined,
|
||||
TeamOutlined,
|
||||
TelegramFilled,
|
||||
ToolOutlined,
|
||||
} from '@ant-design/icons';
|
||||
|
||||
@@ -264,7 +264,7 @@ export default function AppSidebar() {
|
||||
},
|
||||
{
|
||||
key: '/settings#telegram',
|
||||
icon: <MessageOutlined aria-hidden />,
|
||||
icon: <TelegramFilled aria-hidden />,
|
||||
label: t('pages.settings.TGBotSettings'),
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user