2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Add icons to the media viewer menus.

This commit is contained in:
John Preston
2021-12-10 16:10:14 +04:00
parent 2c36623cfb
commit b773bb6e70
220 changed files with 121 additions and 51 deletions

View File

@@ -535,7 +535,7 @@ void ProxyRow::showMenu() {
if (_view.deleted) {
addAction(tr::lng_proxy_menu_restore(tr::now), [=] {
_restoreClicks.fire({});
}, &st::menuIconDelete);
}, &st::menuIconRestore);
} else {
addAction(tr::lng_proxy_menu_delete(tr::now), [=] {
_deleteClicks.fire({});

View File

@@ -477,7 +477,7 @@ void Rows::showMenu(int index) {
if (row->removed) {
addAction(tr::lng_proxy_menu_restore(tr::now), [=] {
restore(row);
}, &st::menuIconDelete);
}, &st::menuIconRestore);
} else {
addAction(tr::lng_proxy_menu_delete(tr::now), [=] {
remove(row);