mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Add some icons to Advanced settings.
This commit is contained in:
@@ -972,7 +972,7 @@ void MainMenu::setupMenu() {
|
||||
});
|
||||
addAction(
|
||||
tr::lng_menu_contacts(),
|
||||
{ &st::settingsIconContacts, kIconRed }
|
||||
{ &st::settingsIconUser, kIconRed }
|
||||
)->setClickedCallback([=] {
|
||||
controller->show(PrepareContactsBox(controller));
|
||||
});
|
||||
@@ -993,7 +993,7 @@ void MainMenu::setupMenu() {
|
||||
} else {
|
||||
addAction(
|
||||
tr::lng_profile_add_contact(),
|
||||
{ &st::settingsIconContacts, kIconRed }
|
||||
{ &st::settingsIconUser, kIconRed }
|
||||
)->setClickedCallback([=] {
|
||||
controller->showAddContact();
|
||||
});
|
||||
|
Reference in New Issue
Block a user