2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Add hidden buttons to langpack.

This commit is contained in:
John Preston
2024-04-02 22:51:38 +04:00
parent a74c5ee719
commit 22f504ca21
2 changed files with 4 additions and 1 deletions

View File

@@ -218,7 +218,8 @@ not_null<Ui::SettingsButton*> AddMyChannelsBox(
button,
st::defaultPopupMenu);
(*menu)->addAction(
chats ? u"My Groups"_q : u"My Channels"_q,
(chats ? tr::lng_menu_my_groups : tr::lng_menu_my_channels)(
tr::now),
[=] { controller->uiShow()->showBox(Box(myChannelsBox)); },
nullptr);
(*menu)->popup(QCursor::pos());