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

Added ability to customize shortcuts for silent or scheduled messages.

This commit is contained in:
23rd
2019-12-23 18:14:12 +03:00
committed by John Preston
parent 19fd3a15e1
commit 7d519990b2
9 changed files with 42 additions and 7 deletions

View File

@@ -426,7 +426,7 @@ void ShareBox::createButtons() {
const auto send = addButton(tr::lng_share_confirm(), [=] {
submit({});
});
SetupSendMenu(
SetupSendMenuAndShortcuts(
send,
[=] { return sendMenuType(); },
[=] { submitSilent(); },