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:
@@ -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({});
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user